com.antiaction.mayhem.authentication
Class User

java.lang.Object
  extended by com.antiaction.mayhem.authentication.User
All Implemented Interfaces:
IUserAuth, java.security.Principal

public class User
extends java.lang.Object
implements IUserAuth

User.

Version:
1.00
Author:
Nicholas Clarke

Method Summary
 boolean equals(java.lang.Object another)
           
 java.lang.String getAuthType()
           
 java.lang.String getName()
           
 java.lang.String getRemoteUser()
           
 java.security.Principal getUserPrincipal()
           
 int hashCode()
           
 boolean isUserInRole(java.lang.String role)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object another)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

getAuthType

public java.lang.String getAuthType()
Specified by:
getAuthType in interface IUserAuth

getUserPrincipal

public java.security.Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface IUserAuth

getRemoteUser

public java.lang.String getRemoteUser()
Specified by:
getRemoteUser in interface IUserAuth

isUserInRole

public boolean isUserInRole(java.lang.String role)
Specified by:
isUserInRole in interface IUserAuth


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.