|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.security.UserConfigFileManager
Constructor Summary | |
UserConfigFileManager()
This uses all default file paths. |
|
UserConfigFileManager(java.lang.String configFile,
java.lang.String secretFile)
This overrides all default paths. |
Method Summary | |
void |
clear()
|
boolean |
containsKey(java.lang.Object key)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Set |
entrySet()
|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
get(java.lang.Object key)
|
boolean |
getDebug()
|
static UsernameAndPassword |
getUsernameAndPassword(java.lang.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(java.lang.String configFile,
java.lang.String secretFile,
java.lang.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()
|
java.util.Set |
keySet()
|
void |
load()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map t)
|
void |
refresh()
Refresh the in-memory config store if any changes have occurred to the backing store. |
java.lang.Object |
remove(java.lang.Object key)
|
void |
setDebug(boolean x)
|
static void |
setUsernameAndPassword(UsernameAndPassword values,
java.lang.String propertyName)
|
static void |
setUsernameAndPassword(UsernameAndPassword values,
java.lang.String configFile,
java.lang.String secretFile,
java.lang.String propertyName)
|
int |
size()
|
void |
store()
Store any changes to the config file. |
java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public UserConfigFileManager()
public UserConfigFileManager(java.lang.String configFile, java.lang.String secretFile)
Method Detail |
public void setDebug(boolean x)
public boolean getDebug()
public static UsernameAndPassword getUsernameAndPassword(java.lang.String propertyName)
The properties that will be used are “.username” and “.password” concatenated with the “propertyName” argument.
public static void setUsernameAndPassword(UsernameAndPassword values, java.lang.String propertyName)
public static UsernameAndPassword getUsernameAndPassword(java.lang.String configFile, java.lang.String secretFile, java.lang.String propertyName)
public static void setUsernameAndPassword(UsernameAndPassword values, java.lang.String configFile, java.lang.String secretFile, java.lang.String propertyName)
public void load() throws java.io.FileNotFoundException, java.io.IOException
public void refresh() throws java.io.IOException
public void store() throws java.io.FileNotFoundException, java.io.IOException
public void clear()
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public java.util.Set entrySet()
public boolean equals(java.lang.Object o)
public java.lang.Object get(java.lang.Object key)
public int hashCode()
public boolean isEmpty()
public java.util.Set keySet()
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
public void putAll(java.util.Map t)
public java.lang.Object remove(java.lang.Object key)
public int size()
public java.util.Collection values()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |