Class BasicCredentialMetaData

  • All Implemented Interfaces:
    java.io.Serializable, org.apereo.cas.authentication.CredentialMetaData

    public class BasicCredentialMetaData
    extends java.lang.Object
    implements org.apereo.cas.authentication.CredentialMetaData, java.io.Serializable
    Basic credential metadata implementation that stores the original credential ID and the original credential type. This can be used as a simple converter for any Credential that doesn't implement CredentialMetaData.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicCredentialMetaData​(org.apereo.cas.authentication.Credential credential)
      Creates a new instance from the given credential.
    • Method Summary

      • Methods inherited from interface org.apereo.cas.authentication.CredentialMetaData

        getCredentialClass, getId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BasicCredentialMetaData

        public BasicCredentialMetaData​(org.apereo.cas.authentication.Credential credential)
        Creates a new instance from the given credential.
        Parameters:
        credential - Credential for which metadata should be created.