public class DefaultAuthentication extends Object implements Authentication
Authentication
.Constructor and Description |
---|
DefaultAuthentication(String ticket,
Profile profile) |
DefaultAuthentication(String ticket,
Profile profile,
boolean remembered) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Profile |
getProfile()
Returns the profile associated to the authentication.
|
String |
getTicket()
Returns the ticket that identifies the authentication.
|
int |
hashCode() |
boolean |
isRemembered()
Indicates if it's a remembered authentication.
|
String |
toString() |
public String getTicket()
Authentication
getTicket
in interface Authentication
public Profile getProfile()
Authentication
getProfile
in interface Authentication
public boolean isRemembered()
Authentication
isRemembered
in interface Authentication
Copyright © 2019 CrafterCMS. All rights reserved.