|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweblogic.security.UserConfigFileManager
public class UserConfigFileManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
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 String |
getDefaultConfigFileName()
|
static String |
getDefaultKeyFileName()
|
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 |
Constructor Detail |
---|
public UserConfigFileManager()
public UserConfigFileManager(String configFile, String secretFile)
Method Detail |
---|
public void setDebug(boolean x)
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 void setUsernameAndPassword(UsernameAndPassword values, String propertyName)
public static UsernameAndPassword getUsernameAndPassword(String configFile, String secretFile, String propertyName)
public static void setUsernameAndPassword(UsernameAndPassword values, String configFile, String secretFile, String propertyName)
public static String getDefaultConfigFileName()
public static String getDefaultKeyFileName()
public void load() throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void refresh() throws IOException
IOException
public void store() throws FileNotFoundException, IOException
FileNotFoundException
IOException
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
equals
in class Object
public Object get(Object key)
get
in interface Map
public int hashCode()
hashCode
in interface Map
hashCode
in class Object
public boolean isEmpty()
isEmpty
in interface Map
public Set keySet()
keySet
in interface Map
public Object put(Object key, Object value)
put
in interface Map
public void putAll(Map t)
putAll
in interface Map
public Object remove(Object key)
remove
in interface Map
public int size()
size
in interface Map
public Collection values()
values
in interface Map
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |