Package org.apache.felix.jaas
Interface LoginModuleFactory
public interface LoginModuleFactory
A factory for creating
LoginModule instances.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty name specifying whether or not aLoginModuleis REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.static final StringProperty name specifying the ranking (i.e.static final StringProperty name specifying the Realm name (or application name) against which the LoginModule would be registered. -
Method Summary
Modifier and TypeMethodDescriptionCreates the LoginModule instance
-
Field Details
-
JAAS_CONTROL_FLAG
Property name specifying whether or not aLoginModuleis REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL. Refer toConfigurationfor more details around the meaning of these flags By default the value is set to REQUIRED- See Also:
-
JAAS_REALM_NAME
Property name specifying the Realm name (or application name) against which the LoginModule would be registered.If no realm name is provided then LoginModule would registered with a default realm as configured
- See Also:
-
JAAS_RANKING
Property name specifying the ranking (i.e. sort order) of the configured login module entries. The entries are sorted in a descending order (i.e. higher value ranked configurations come first)- Since:
- 1.0.1 (bundle version 0.0.2)
- See Also:
-
-
Method Details
-
createLoginModule
LoginModule createLoginModule()Creates the LoginModule instance- Returns:
- loginModule instance
-