Package org.apereo.cas.authentication
Class DefaultAuthentication
- java.lang.Object
-
- org.apereo.cas.authentication.DefaultAuthentication
-
- All Implemented Interfaces:
java.io.Serializable,org.apereo.cas.authentication.Authentication
public class DefaultAuthentication extends java.lang.Object implements org.apereo.cas.authentication.AuthenticationImmutable authentication event whose attributes may not change after creation. This class is designed for serialization and is suitable for long-term storage.- Since:
- 3.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthentication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(java.lang.String name, java.lang.Object value)booleanisEqualTo(org.apereo.cas.authentication.Authentication auth2)voidupdate(org.apereo.cas.authentication.Authentication authn)voidupdateAll(org.apereo.cas.authentication.Authentication authn)
-
-
-
Method Detail
-
update
public void update(org.apereo.cas.authentication.Authentication authn)
- Specified by:
updatein interfaceorg.apereo.cas.authentication.Authentication
-
updateAll
public void updateAll(org.apereo.cas.authentication.Authentication authn)
- Specified by:
updateAllin interfaceorg.apereo.cas.authentication.Authentication
-
addAttribute
public void addAttribute(java.lang.String name, java.lang.Object value)- Specified by:
addAttributein interfaceorg.apereo.cas.authentication.Authentication
-
isEqualTo
public boolean isEqualTo(org.apereo.cas.authentication.Authentication auth2)
- Specified by:
isEqualToin interfaceorg.apereo.cas.authentication.Authentication
-
-