Extend provides simple way of defining security configuration. Bean called
SpringAuthConfiguration
hooks to system configuration (javax.security.auth.login.Configuration) and allows
login modules to be specified under login contexts.
At the moment there is only one login module implementation supplied: KeyStoreLoginModule and KeyStoreModuleService service to be used to configure KeyStoreLoginModule .
Service KeyStoreModuleService has following attributes:
loginContext - login context nameconfiguration - configuration bean (usually just reference to "javax.security.auth.login")keyStore - name of resource of key storekeyStorePassword - password of given keystorekeyStoreType - type of key store (optional)keyStoreProvider - key store provider (optional)controlFlag - control flag - one of "required", "requisite", "sufficient" or "optional". Defaulted to "required".
For example of a login module definition see bean-console's web-application.xml.