|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.security.SecurityRuntime
The SecurityRuntime
class provides a way to query the runtime for its
capabilities and to create instances of policy domains for use in an application,
as well as fetch several other application level resources.
Method Summary | |
boolean |
doesPolicyDomainExist(java.lang.String policydomainname)
Determines if a specific policy domain exists. |
AuthenticIdentity |
getAnonymousIdentity()
Gets the AuthenticIdentity of the ANONYMOUS user. |
static SecurityRuntime |
getInstance()
Gets a reference to the instance of the security runtime. |
NamingAuthorityManager |
getNamingAuthorityManager()
Gets the naming authority manager for this runtime. |
PolicyDomain |
getPolicyDomain(java.lang.String policydomainname)
Gets the policy domain associated with the name requested. |
static void |
initialize(AppConfig config)
Initializes the runtime according to the application specific configuration provided. |
static void |
shutdown()
Shuts down the runtime and returns it to a pre-initialized state. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static void initialize(AppConfig config) throws ParameterException
config
- an AppConfig
object that contains configuration information
for this runtime.public static void shutdown()
public static SecurityRuntime getInstance()
SecurityRuntime
for this application.public AuthenticIdentity getAnonymousIdentity()
AuthenticIdentity
of the ANONYMOUS user.
AuthenticIdentity
used by the ANONYMOUS user.public boolean doesPolicyDomainExist(java.lang.String policydomainname)
policydomainname
- the policy domain name as a String
.true
if the policy domain is known by the runtime; otherwise, returns
false
.public PolicyDomain getPolicyDomain(java.lang.String policydomainname) throws ParameterException
policydomainname
- the name of the policy domain being requested.PolicyDomain
object that contains services for the domain requested.public NamingAuthorityManager getNamingAuthorityManager()
NamingAuthorityManager
for this runtime. All names are managed according
to the authorities registered to this manager.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |