public class AuthLevel extends Object
Constructor and Description |
---|
AuthLevel(AuthContext.IndexType indexType,
String indexName,
String orgDN,
String clientType,
Locale loc)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
Callback[] |
createChoiceCallback()
Returns choice callback.
|
void |
getAuthModulesConfig()
Returns auth modules configuration
|
String[] |
getModuleList()
Returns configured
List of authentication modules |
protected String |
getModuleLocalizedName(String moduleName)
Returns localized name of a module.
|
protected Map |
getModuleMap()
Returns a map containing localized module name and
module name.
|
String |
getModuleName()
Returns associated authentication module with auth level
|
int |
getNumberOfAuthModules()
Returns configured number of authentication modules
|
public AuthLevel(AuthContext.IndexType indexType, String indexName, String orgDN, String clientType, Locale loc) throws AuthException
indexType
- IndexType
defines the possible kinds of
"objects" or "resources" for which an authentication
can be performed.indexName
- authentication index name.orgDN
- associated organizational DN for authentication module.clientType
- associated client type for authentication module.loc
- associated locale instance for authentication module.AuthException
- if an error occurred during instanciation.public void getAuthModulesConfig()
public int getNumberOfAuthModules()
public String[] getModuleList()
List
of authentication modulesList
of authentication modulespublic String getModuleName()
public Callback[] createChoiceCallback() throws AuthException
AuthException
protected String getModuleLocalizedName(String moduleName)
moduleName
- name of module.protected Map getModuleMap()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.