Interface RealmInitializer
-
- All Known Implementing Classes:
RealmAdapter
public interface RealmInitializer
Interface to facilitate Initialization of the injected Realm Instance with Application Descriptor info.See com.sun.enterprise.web.WebContainer and com.sun.web.security.RealmAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initializeRealm(Object bundleDescriptor, boolean isSystemApp, String defaultRealmName)
Initializes the internal state of this instance with provided parameters.void
logout()
Clean up security and policy context.void
setVirtualServer(Object container)
Sets the realm's virtual server container.void
updateWebSecurityManager()
Reinitializes the web security manager.
-
-
-
Method Detail
-
initializeRealm
void initializeRealm(Object bundleDescriptor, boolean isSystemApp, String defaultRealmName)
Initializes the internal state of this instance with provided parameters.- Parameters:
bundleDescriptor
- - contains bundle-specific configurationisSystemApp
- - realm may have different behavior for system applicationsdefaultRealmName
- - this realm name will be used as a default if there is not any other configured in the descriptor.
-
setVirtualServer
void setVirtualServer(Object container)
Sets the realm's virtual server container.- Parameters:
container
-
-
updateWebSecurityManager
void updateWebSecurityManager()
Reinitializes the web security manager.
-
logout
void logout()
Clean up security and policy context.
-
-