Class AbstractAuthenticatableSAMLEntityContext

java.lang.Object
org.opensaml.messaging.context.BaseContext
org.opensaml.saml.common.messaging.context.AbstractSAMLEntityContext
org.opensaml.saml.common.messaging.context.AbstractAuthenticatableSAMLEntityContext
All Implemented Interfaces:
Iterable<BaseContext>
Direct Known Subclasses:
SAMLPeerEntityContext, SAMLPresenterEntityContext

public abstract class AbstractAuthenticatableSAMLEntityContext extends AbstractSAMLEntityContext
Abstract base class for subcontexts that carry information about a SAML entity which may be authenticated. This context will often contain subcontexts, whose data is construed to be scoped to that entity.
  • Field Details

    • authenticated

      private boolean authenticated
      Flag indicating whether the SAML peer entity has been authenticated.
  • Constructor Details

    • AbstractAuthenticatableSAMLEntityContext

      public AbstractAuthenticatableSAMLEntityContext()
  • Method Details

    • isAuthenticated

      public boolean isAuthenticated()
      Gets the flag indicating whether the SAML peer entity has been authenticated.
      Returns:
      Returns the authenticated flag.
    • setAuthenticated

      public void setAuthenticated(boolean flag)
      Sets the flag indicating whether the SAML peer entity has been authenticated.
      Parameters:
      flag - The flag to set.