electric.soap.security
Class RealmPrincipal
java.lang.Object
electric.soap.security.RealmPrincipal
- All Implemented Interfaces:
- java.security.Principal
- public class RealmPrincipal
- extends java.lang.Object
- implements java.security.Principal
RealmPrincipal defines a Java Principal object
representing an entry in a GLUE Realm. This is useful because
(username,realm) pairs, not bare usernames, that identify a
GLUE-level user.
- Author:
- webMethods
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
realm
protected IRealm realm
user
protected java.lang.String user
RealmPrincipal
public RealmPrincipal(IRealm realm,
java.lang.String user)
- Parameters:
realm
- user
-
getName
public java.lang.String getName()
- Specified by:
getName
in interface java.security.Principal
- Returns:
- the name of the principal.
getRealm
public IRealm getRealm()
- Returns:
- the realm associated with the principal.
copyright© 2001-2004 by webMethods All Rights Reserved.