Class SetTokenDeliveryAttributesToResponseContextTest


  • public class SetTokenDeliveryAttributesToResponseContextTest
    extends BaseOIDCResponseActionTest
    SetTokenDeliveryAttributesToResponseContext unit test.
    • Field Detail

      • registry

        private net.shibboleth.idp.attribute.transcoding.impl.AttributeTranscoderRegistryImpl registry
      • action

        private net.shibboleth.idp.plugin.oidc.op.profile.impl.SetTokenDeliveryAttributesToResponseContext action
    • Constructor Detail

      • SetTokenDeliveryAttributesToResponseContextTest

        public SetTokenDeliveryAttributesToResponseContextTest()
    • Method Detail

      • setAttributeContext

        private void setAttributeContext()
      • testNoAttributeCtx

        public void testNoAttributeCtx()
        Test that action copes with no attribute context. Action should just move forward without action taken.
      • testSuccess

        public void testSuccess()
        Test that action create the context.
      • testSuccessWithClaimsRequestedToIdToken

        public void testSuccessWithClaimsRequestedToIdToken()
        Test that action create the context with a claim requested to id_token.