org.objectweb.security.context.SecurityContext.InternalPrincipal Class Reference

List of all members.

Public Member Functions

 InternalPrincipal (boolean inRunAs)
String getName ()
boolean equals (Object o)
int hashCode ()
String toString ()

Detailed Description

Author:
Florent Benoit Defines an implementation of the Principal object

Definition at line 356 of file SecurityContext.java.


Constructor & Destructor Documentation

org.objectweb.security.context.SecurityContext.InternalPrincipal.InternalPrincipal boolean  inRunAs  ) 
 

Constructor

Parameters:
inRunAs caller is in run-as bean ?

Definition at line 369 of file SecurityContext.java.


Member Function Documentation

boolean org.objectweb.security.context.SecurityContext.InternalPrincipal.equals Object  o  ) 
 

Parameters:
o the object to compare
Returns:
true if the given principal has the same name than ours

Definition at line 386 of file SecurityContext.java.

References org.objectweb.security.context.SecurityContext.InternalPrincipal.getName(), and org.objectweb.security.context.SecurityContext.getPrincipalName().

Here is the call graph for this function:

String org.objectweb.security.context.SecurityContext.InternalPrincipal.getName  ) 
 

Returns:
name of this principal

Definition at line 378 of file SecurityContext.java.

References org.objectweb.security.context.SecurityContext.getPrincipalName().

Referenced by org.objectweb.security.context.SecurityContext.InternalPrincipal.equals().

Here is the call graph for this function:

int org.objectweb.security.context.SecurityContext.InternalPrincipal.hashCode  ) 
 

Hashcode for this principal

Returns:
hashcode of the principal name

Definition at line 397 of file SecurityContext.java.

References org.objectweb.security.context.SecurityContext.getPrincipalName().

Here is the call graph for this function:

String org.objectweb.security.context.SecurityContext.InternalPrincipal.toString  ) 
 

Display this object

Returns:
string representing this object

Definition at line 405 of file SecurityContext.java.

References org.objectweb.security.context.SecurityContext.getPrincipalName().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:14:03 2005 for JOnAS by  doxygen 1.3.9.1