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:Authentication
Returns the ticket that identifies the authentication.- Specified by:
getTicket
in interfaceAuthentication
-
getProfile
Description copied from interface:Authentication
Returns the profile associated to the authentication.- Specified by:
getProfile
in interfaceAuthentication
-
isRemembered
public boolean isRemembered()Description copied from interface:Authentication
Indicates if it's a remembered authentication.- Specified by:
isRemembered
in interfaceAuthentication
-
equals
-
hashCode
public int hashCode() -
toString
-