| java.lang.Object com.flexive.core.security.FxPrincipal
FxPrincipal | public class FxPrincipal implements Principal,java.io.Serializable(Code) | | Flexive security principal.
author: Gregor Schober (gregor.schober@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
Method Summary | |
public long | getId() Returns the unique user id for this FlexivePrincipal. | public String | getName() Returns the user name for this FlexivePrincipal. | public UserTicket | getUserTicket() Returns the UserTicket for this FlexivePrincipal. | public String | toString() Returns a string representation of the FlexivePrincipal. |
FxPrincipal | public FxPrincipal(UserTicket ticket)(Code) | | Constructs a new FlexivePrincipal.
Parameters: ticket - the user ticket |
getId | public long getId()(Code) | | Returns the unique user id for this FlexivePrincipal.
The id can also be retrieved using getUserTicket.getId(), this function
serves as a shorcut.
the unique user id for this FlexivePrincipal |
getName | public String getName()(Code) | | Returns the user name for this FlexivePrincipal.
The name can also be retrieved using getUserTicket.getName(), this function
serves as a shorcut.
the user name for this FlexivePrincipal |
getUserTicket | public UserTicket getUserTicket()(Code) | | Returns the UserTicket for this FlexivePrincipal.
the UserTicket for this FlexivePrincipal |
toString | public String toString()(Code) | | Returns a string representation of the FlexivePrincipal.
a string representation of the FlexivePrincipal. |
|
|