Class V2SAMLProfileRequestContext

java.lang.Object
edu.internet2.middleware.shibboleth.common.attribute.provider.V2SAMLProfileRequestContext

public class V2SAMLProfileRequestContext extends Object
Emulation code for Scripted Attributes.
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • resolutionContext

      @Nonnull private final AttributeResolutionContext resolutionContext
      The Attribute Resolution Context, used to local the Principal.
    • id

      @Nullable private final String id
      Attribute Id being resolved, if any.
  • Constructor Details

    • V2SAMLProfileRequestContext

      public V2SAMLProfileRequestContext(@Nonnull AttributeResolutionContext attributeResolutionContext, @Nullable String attributeId)
      Constructor.
      Parameters:
      attributeResolutionContext - the resolution context.
      attributeId - the id of the attribute being resolved.
  • Method Details

    • getId

      @Nullable protected String getId()
      Get the attribute ID being resolved, if available.
      Returns:
      attribute ID
    • getPrincipalName

      public String getPrincipalName()
      Get the name of the principal associated with this resolution.
      Returns:
      the Principal.
    • getPeerEntityId

      public String getPeerEntityId()
      Get the Entity Id associate with this attribute issuer.
      Returns:
      the entityId.
    • getLocalEntityId

      public String getLocalEntityId()
      Get the Entity Id associate with this attribute consumer.
      Returns:
      the entityId.
    • getInboundSAMLMessage

      public SAMLObject getInboundSAMLMessage()
      Stubbed failing function.
      Returns:
      null
    • getInboundSAMLMessageId

      public String getInboundSAMLMessageId()
      Stubbed failing function.
      Returns:
      null
    • getInboundSAMLMessageIssueInstant

      public Instant getInboundSAMLMessageIssueInstant()
      Stubbed failing function.
      Returns:
      null
    • getInboundSAMLProtocol

      public String getInboundSAMLProtocol()
      Stubbed failing function.
      Returns:
      null
    • getLocalEntityMetadata

      public EntityDescriptor getLocalEntityMetadata()
      Stubbed failing function.
      Returns:
      null
    • getLocalEntityRole

      public QName getLocalEntityRole()
      Stubbed failing function.
      Returns:
      null
    • getLocalEntityRoleMetadata

      public RoleDescriptor getLocalEntityRoleMetadata()
      Stubbed failing function.
      Returns:
      null
    • getMetadataResolver

      public MetadataResolver getMetadataResolver()
      Stubbed failing function.
      Returns:
      null
    • getOutboundSAMLMessageSigningCredential

      public Object getOutboundSAMLMessageSigningCredential()
      Stubbed failing function.
      Returns:
      null
    • getOutboundMessageArtifactType

      public byte[] getOutboundMessageArtifactType()
      Stubbed failing function.
      Returns:
      null
    • getOutboundSAMLMessage

      public SAMLObject getOutboundSAMLMessage()
      Stubbed failing function.
      Returns:
      null
    • getOutboundSAMLMessageId

      public String getOutboundSAMLMessageId()
      Stubbed failing function.
      Returns:
      null
    • getOutboundSAMLMessageIssueInstant

      public Instant getOutboundSAMLMessageIssueInstant()
      Stubbed failing function.
      Returns:
      null
    • getOutboundSAMLProtocol

      public String getOutboundSAMLProtocol()
      Stubbed failing function.
      Returns:
      null
    • getPeerEntityEndpoint

      public Endpoint getPeerEntityEndpoint()
      Stubbed failing function.
      Returns:
      null
    • getPeerEntityMetadata

      public EntityDescriptor getPeerEntityMetadata()
      Stubbed failing function.
      Returns:
      null
    • getPeerEntityRole

      public QName getPeerEntityRole()
      Stubbed failing function.
      Returns:
      null
    • getPeerEntityRoleMetadata

      public RoleDescriptor getPeerEntityRoleMetadata()
      Stubbed failing function.
      Returns:
      null
    • getRelayState

      public String getRelayState()
      Stubbed failing function.
      Returns:
      null
    • getSubjectNameIdentifier

      public SAMLObject getSubjectNameIdentifier()
      Stubbed failing function.
      Returns:
      null
    • isInboundSAMLMessageAuthenticated

      public boolean isInboundSAMLMessageAuthenticated()
      Stubbed failing function.
      Returns:
      null
    • setInboundSAMLMessage

      public void setInboundSAMLMessage(SAMLObject param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundSAMLMessageAuthenticated

      public void setInboundSAMLMessageAuthenticated(boolean param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundSAMLMessageId

      public void setInboundSAMLMessageId(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundSAMLMessageIssueInstant

      public void setInboundSAMLMessageIssueInstant(Instant param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundSAMLProtocol

      public void setInboundSAMLProtocol(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setLocalEntityId

      public void setLocalEntityId(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setLocalEntityMetadata

      public void setLocalEntityMetadata(EntityDescriptor param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setLocalEntityRole

      public void setLocalEntityRole(QName param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setLocalEntityRoleMetadata

      public void setLocalEntityRoleMetadata(RoleDescriptor param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setMetadataResolver

      public void setMetadataResolver(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundMessageArtifactType

      public void setOutboundMessageArtifactType(byte[] param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundSAMLMessage

      public void setOutboundSAMLMessage(SAMLObject param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundSAMLMessageId

      public void setOutboundSAMLMessageId(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundSAMLMessageIssueInstant

      public void setOutboundSAMLMessageIssueInstant(Instant param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundSAMLMessageSigningCredential

      public void setOutboundSAMLMessageSigningCredential(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundSAMLProtocol

      public void setOutboundSAMLProtocol(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setPeerEntityEndpoint

      public void setPeerEntityEndpoint(Endpoint param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setPeerEntityId

      public void setPeerEntityId(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setPeerEntityMetadata

      public void setPeerEntityMetadata(EntityDescriptor param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setPeerEntityRole

      public void setPeerEntityRole(QName param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setPeerEntityRoleMetadata

      public void setPeerEntityRoleMetadata(RoleDescriptor param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setRelayState

      public void setRelayState(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setSubjectNameIdentifier

      public void setSubjectNameIdentifier(SAMLObject param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getCommunicationProfileId

      public String getCommunicationProfileId()
      Stubbed failing function.
      Returns:
      null
    • getInboundMessage

      public XMLObject getInboundMessage()
      Stubbed failing function.
      Returns:
      null
    • getInboundMessageIssuer

      public String getInboundMessageIssuer()
      Stubbed failing function.
      Returns:
      null
    • getInboundMessageTransport

      public Object getInboundMessageTransport()
      Stubbed failing function.
      Returns:
      null
    • getOutboundMessage

      public XMLObject getOutboundMessage()
      Stubbed failing function.
      Returns:
      null
    • getOutboundMessageIssuer

      public String getOutboundMessageIssuer()
      Stubbed failing function.
      Returns:
      null
    • getOutboundMessageTransport

      public Object getOutboundMessageTransport()
      Stubbed failing function.
      Returns:
      null
    • getSecurityPolicyResolver

      public Object getSecurityPolicyResolver()
      Stubbed failing function.
      Returns:
      null
    • isIssuerAuthenticated

      public boolean isIssuerAuthenticated()
      Stubbed failing function.
      Returns:
      null
    • setCommunicationProfileId

      public void setCommunicationProfileId(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundMessage

      public void setInboundMessage(XMLObject param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundMessageIssuer

      public void setInboundMessageIssuer(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setInboundMessageTransport

      public void setInboundMessageTransport(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundMessage

      public void setOutboundMessage(XMLObject param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundMessageIssuer

      public void setOutboundMessageIssuer(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setOutboundMessageTransport

      public void setOutboundMessageTransport(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setSecurityPolicyResolver

      public void setSecurityPolicyResolver(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getPreSecurityInboundHandlerChainResolver

      public Object getPreSecurityInboundHandlerChainResolver()
      Stubbed failing function.
      Returns:
      null
    • setPreSecurityInboundHandlerChainResolver

      public void setPreSecurityInboundHandlerChainResolver(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getPostSecurityInboundHandlerChainResolver

      public Object getPostSecurityInboundHandlerChainResolver()
      Stubbed failing function.
      Returns:
      null
    • setPostSecurityInboundHandlerChainResolver

      public void setPostSecurityInboundHandlerChainResolver(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getOutboundHandlerChainResolver

      public Object getOutboundHandlerChainResolver()
      Stubbed failing function.
      Returns:
      null
    • setOutboundHandlerChainResolver

      public void setOutboundHandlerChainResolver(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getProfileConfiguration

      public Object getProfileConfiguration()
      Stubbed failing function.
      Returns:
      null
    • getRelyingPartyConfiguration

      public Object getRelyingPartyConfiguration()
      Stubbed failing function.
      Returns:
      null
    • getUserSession

      public Object getUserSession()
      Stubbed failing function.
      Returns:
      null
    • setProfileConfiguration

      public void setProfileConfiguration(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setRelyingPartyConfiguration

      public void setRelyingPartyConfiguration(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setUserSession

      public void setUserSession(Object param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getReleasedAttributes

      public Collection<?> getReleasedAttributes()
      Stubbed failing function.
      Returns:
      null
    • setReleasedAttributes

      public void setReleasedAttributes(Collection<?> param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getRequestedAttributesIds

      public Collection<String> getRequestedAttributesIds()
      Stubbed failing function.
      Returns:
      null
    • setRequestedAttributes

      public void setRequestedAttributes(Collection<String> param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getAttributes

      public Map<String,Object> getAttributes()
      Stubbed failing function.
      Returns:
      null
    • setAttributes

      public void setAttributes(Map<String,Object> param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • getPrincipalAuthenticationMethod

      public String getPrincipalAuthenticationMethod()
      Stubbed failing function.
      Returns:
      null
    • setPrincipalAuthenticationMethod

      public void setPrincipalAuthenticationMethod(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • setPrincipalName

      public void setPrincipalName(String param)
      Stubbed failing function.
      Parameters:
      param - ignored.
    • unsupportedMethod

      protected void unsupportedMethod(@Nonnull String method)
      Emit an appropriate message when an unsupported method is called.
      Parameters:
      method - the method
    • toString

      public String toString()
      .
      Overrides:
      toString in class Object