org.apache.geronimo.security.realm
Interface SecurityRealm

All Superinterfaces:
org.apache.geronimo.management.geronimo.SecurityRealm
All Known Implementing Classes:
GenericSecurityRealm

public interface SecurityRealm
extends org.apache.geronimo.management.geronimo.SecurityRealm

Version:
$Rev: 391894 $ $Date: 2006-04-06 06:00:33 +0200 (Thu, 06 Apr 2006) $

Field Summary
static String BASE_OBJECT_NAME
           
 
Method Summary
 JaasLoginModuleConfiguration[] getAppConfigurationEntries()
          Gets the JAAS configuration for this security realm.
 String[] getLoginDomains()
          Gets a list of the login domains that make up this security realm.
 JaasLoginModuleChain getLoginModuleChain()
          Gets the first JaasLoginModuleChain node in the chain of LoginModules for this realm.
 boolean isRestrictPrincipalsToServer()
          If this attribute is true, the login service will not return principals generated by this realm to clients.
 boolean isWrapPrincipals()
          If this attribute is true, then the principals will be wrapped in realm principals.
 
Methods inherited from interface org.apache.geronimo.management.geronimo.SecurityRealm
getRealmName
 

Field Detail

BASE_OBJECT_NAME

public static final String BASE_OBJECT_NAME
See Also:
Constant Field Values
Method Detail

getAppConfigurationEntries

public JaasLoginModuleConfiguration[] getAppConfigurationEntries()
Gets the JAAS configuration for this security realm.


isRestrictPrincipalsToServer

public boolean isRestrictPrincipalsToServer()
If this attribute is true, the login service will not return principals generated by this realm to clients. If set to false (the default), the client will get a copy of all principals (except realm principals generated strictly for use within Geronimo).


isWrapPrincipals

public boolean isWrapPrincipals()
If this attribute is true, then the principals will be wrapped in realm principals.


getLoginDomains

public String[] getLoginDomains()
Gets a list of the login domains that make up this security realm. A particular LoginModule represents 0 or 1 login domains, and a realm is composed of a number of login modules, so the realm may cover any number of login domains, though typically that number will be 1.


getLoginModuleChain

public JaasLoginModuleChain getLoginModuleChain()
Gets the first JaasLoginModuleChain node in the chain of LoginModules for this realm.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.