|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.security.auth.login.Configuration org.abstracthorizon.danube.auth.SpringAuthConfiguration
public class SpringAuthConfiguration
Authorisation configuiration that can be defined through spring configuration (or in that matter any other programmable way.
Field Summary | |
---|---|
protected Map<String,AppConfigurationEntry[]> |
entries
Login modules mapped to configuration entries |
Constructor Summary | |
---|---|
SpringAuthConfiguration()
Constructor |
Method Summary | |
---|---|
AppConfigurationEntry[] |
getAppConfigurationEntry(String loginContext)
|
void |
init()
Establishes itself as a authorisation configuration |
void |
refresh()
Does nothing |
void |
removeAppConfigurationEntry(String loginContext)
Removes login context |
void |
setAppConfigurationEntry(String loginContext,
AppConfigurationEntry[] entries)
Sets array of application configuration entry at given login context |
Methods inherited from class javax.security.auth.login.Configuration |
---|
getConfiguration, setConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<String,AppConfigurationEntry[]> entries
Constructor Detail |
---|
public SpringAuthConfiguration()
Method Detail |
---|
public void init()
public AppConfigurationEntry[] getAppConfigurationEntry(String loginContext)
getAppConfigurationEntry
in class Configuration
public void setAppConfigurationEntry(String loginContext, AppConfigurationEntry[] entries)
loginContext
- login contextentries
- application configuraiton entriespublic void removeAppConfigurationEntry(String loginContext)
loginContext
- login contextpublic void refresh()
refresh
in class Configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |