Class DefaultAuthentication
java.lang.Object
org.craftercms.security.authentication.impl.DefaultAuthentication
- All Implemented Interfaces:
Authentication
Default implementation of
Authentication.- Author:
- avasquez
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAuthentication(String ticket, Profile profile) DefaultAuthentication(String ticket, Profile profile, boolean remembered) -
Method Summary
-
Constructor Details
-
DefaultAuthentication
-
DefaultAuthentication
-
-
Method Details
-
getTicket
Description copied from interface:AuthenticationReturns the ticket that identifies the authentication.- Specified by:
getTicketin interfaceAuthentication
-
getProfile
Description copied from interface:AuthenticationReturns the profile associated to the authentication.- Specified by:
getProfilein interfaceAuthentication
-
isRemembered
public boolean isRemembered()Description copied from interface:AuthenticationIndicates if it's a remembered authentication.- Specified by:
isRememberedin interfaceAuthentication
-
equals
-
hashCode
public int hashCode() -
toString
-