|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.SAMLConfig
OpenSAML configuration bundle. Implemented as a singleton.
Field Summary | |
protected java.util.Properties |
properties
|
Constructor Summary | |
protected |
SAMLConfig()
|
Method Summary | |
boolean |
getBooleanProperty(java.lang.String key)
Gets a binary library configuration property in boolean form |
java.lang.String |
getProperty(java.lang.String key)
Gets a library configuration property |
static SAMLConfig |
instance()
Returns the active OpenSAML configuration. |
void |
loadProperties(java.io.InputStream inStream)
Enables a set of configuration properties. |
void |
refresh()
Refreshes state of library regarding SAML compatibility mode |
void |
setBooleanProperty(java.lang.String key,
java.lang.Boolean value)
Sets a binary library configuration property in boolean form |
void |
setProperties(java.util.Properties properties)
Enables a set of configuration properties. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a library configuration property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Properties properties
Constructor Detail |
protected SAMLConfig()
Method Detail |
public static SAMLConfig instance()
public void setProperties(java.util.Properties properties)
properties
- the configuration properties to be enabledpublic void loadProperties(java.io.InputStream inStream) throws java.io.IOException
inStream
- an InputStream
from which
a java properties file can be obtained.
java.io.IOException
public void setProperty(java.lang.String key, java.lang.String value)
key
- A property namevalue
- The value to setpublic java.lang.String getProperty(java.lang.String key)
key
- A property name
public boolean getBooleanProperty(java.lang.String key)
key
- A property name
public void setBooleanProperty(java.lang.String key, java.lang.Boolean value)
key
- A property name
public void refresh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |