|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.security.registry.RegistryHelper
public class RegistryHelper
Constructor Summary | |
---|---|
RegistryHelper()
|
Method Summary | |
---|---|
static java.util.List<java.lang.String> |
getInboundTrustedRealms(java.lang.String realmName)
The getInboundTrustedRealms method returns the list of inbound trusted realms
corresponding to the active user registry that matches this realm. |
static UserRegistry |
getUserRegistry(java.lang.String realmName)
The getUserRegistry method returns the active UserRegistry object that matches this realm. |
static boolean |
isRealmInboundTrusted(java.lang.String inboundRealm,
java.lang.String localRealm)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryHelper()
Method Detail |
---|
public static UserRegistry getUserRegistry(java.lang.String realmName) throws com.ibm.websphere.security.WSSecurityException
The getUserRegistry
method returns the active UserRegistry object that matches this realm.
If the realm is null, it returns the user registry based on the thread context.
If no active user registry matching this realm is found, it will return null.
The realm should be available in the process being called. For example, if a localOS regsitry
is requested this will return the localOS registry of the process where this method is executed.
This method requires that the realm names are unique.
If the process does not host this realm, it will return null.
String
- (the realm name - null implies context based realm)
com.ibm.websphere.security.WSSecurityException
public static java.util.List<java.lang.String> getInboundTrustedRealms(java.lang.String realmName) throws com.ibm.websphere.security.WSSecurityException
The getInboundTrustedRealms
method returns the list of inbound trusted realms
corresponding to the active user registry that matches this realm.
If the realm is null, it returns the inbound trusted realms for the realm (user registry)
based on the thread context.
The realm should be available in the process being called. If the process does
not host this realm, it will return an empty list.
If all realms are trusted, it will return "*" in the List
This method requires that the realm names are unique.
String
- (the realm name - null implies context based realm)
com.ibm.websphere.security.WSSecurityException
public static boolean isRealmInboundTrusted(java.lang.String inboundRealm, java.lang.String localRealm)
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |