|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
||||||||||
| 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 \x93.username\x94 and \x93.password\x94 concatenated with the \x93propertyName\x94 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
IOExceptionpublic void clear()
clear in interface Mappublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic boolean equals(Object o)
equals in interface Mapequals in class Objectpublic Object get(Object key)
get in interface Mappublic int hashCode()
hashCode in interface MaphashCode in class Objectpublic boolean isEmpty()
isEmpty in interface Mappublic Set keySet()
keySet in interface Map
public Object put(Object key,
Object value)
put in interface Mappublic void putAll(Map t)
putAll in interface Mappublic Object remove(Object key)
remove in interface Mappublic int size()
size in interface Mappublic Collection values()
values in interface Map
|
Copyright 1996, 2015, 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 API Reference 11g Release 1 (10.3.6) Part Number E13941-07 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||