Package org.jcsp.net.security
Interface UserToken
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SimpleSecurityAuthority.SimpleUserToken
public interface UserToken extends java.io.Serializable
Uniquely identifies an authenticated user. An instance of a
SecurityAuthority
will be able to create a user token from a user ID. To do so may require additional information such as passwords or other authentication details. It is the responsibility of the authority to do the authentication and only supply a token instance if the credentials are okay.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserID
getUserID()
Returns the ID of the logged on user.
-
-
-
Method Detail
-
getUserID
UserID getUserID()
Returns the ID of the logged on user.
-
-