|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.UserConfigFileManager
Nested Class Summary |
Nested classes inherited from class java.util.Map |
Map.Entry |
Constructor Summary | |
UserConfigFileManager()
This uses all default file paths. |
|
UserConfigFileManager(String configFile,
String secretFile)
This overrides all default paths. |
Method Summary | |
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set |
entrySet()
|
boolean |
equals(Object o)
|
Object |
get(Object key)
|
boolean |
getDebug()
|
static UsernameAndPassword |
getUsernameAndPassword(String propertyName)
This is a utility method that is used to simply get the username and password from one of a series of options. |
static UsernameAndPassword |
getUsernameAndPassword(String configFile,
String secretFile,
String propertyName)
Gets a UsernameAndPassword instance that contains the username and password values from the specified config file; property name is the left side of the property equation. |
int |
hashCode()
|
boolean |
isEmpty()
|
Set |
keySet()
|
void |
load()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map t)
|
void |
refresh()
Refresh the in-memory config store if any changes have occurred to the backing store. |
Object |
remove(Object key)
|
void |
setDebug(boolean x)
|
static void |
setUsernameAndPassword(UsernameAndPassword values,
String propertyName)
|
static void |
setUsernameAndPassword(UsernameAndPassword values,
String configFile,
String secretFile,
String propertyName)
|
int |
size()
|
void |
store()
Store any changes to the config file. |
Collection |
values()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
put |
Constructor Detail |
public UserConfigFileManager()
public UserConfigFileManager(String configFile, String secretFile)
Method Detail |
public void clear()
clear
in interface Map
public boolean containsKey(Object key)
containsKey
in interface Map
public boolean containsValue(Object value)
containsValue
in interface Map
public Set entrySet()
entrySet
in interface Map
public boolean equals(Object o)
equals
in interface Map
public Object get(Object key)
get
in interface Map
public boolean getDebug()
public static UsernameAndPassword getUsernameAndPassword(String propertyName)
The properties that will be used are “.username” and “.password” concatenated with the “propertyName” argument.
public static UsernameAndPassword getUsernameAndPassword(String configFile, String secretFile, String propertyName)
public int hashCode()
hashCode
in interface Map
public boolean isEmpty()
isEmpty
in interface Map
public Set keySet()
keySet
in interface Map
public void load() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public Object put(Object key, Object value)
public void putAll(Map t)
putAll
in interface Map
public void refresh() throws IOException
IOException
public Object remove(Object key)
remove
in interface Map
public void setDebug(boolean x)
public static void setUsernameAndPassword(UsernameAndPassword values, String propertyName)
public static void setUsernameAndPassword(UsernameAndPassword values, String configFile, String secretFile, String propertyName)
public int size()
size
in interface Map
public void store() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public Collection values()
values
in interface Map
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |