| org.jboss.security.srp.jaas.SRPPrincipal
SRPPrincipal | public class SRPPrincipal extends SimplePrincipal (Code) | | An extension of SimplePrincipal that adds the SRP session ID
author: Scott.Stark@jboss.org version: $Revision: 57210 $ |
serialVersionUID | final static long serialVersionUID(Code) | | Serial Version
|
SRPPrincipal | public SRPPrincipal(String name)(Code) | | Creates a new instance of SRPPrincipal
|
SRPPrincipal | public SRPPrincipal(String name, int sessionID)(Code) | | |
equals | public boolean equals(Object obj)(Code) | | Override to include the sessionID in the equality check
Parameters: obj - a SRPPrincipal true of name and sessionID are equal |
getSessionID | public int getSessionID()(Code) | | |
hashCode | public int hashCode()(Code) | | Override to include sessionID in the hash
name.hashCode() + sessionID |
|
|