|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.opensaml.SAMLConfig
public class 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 |
getDefaultBindingProvider(java.lang.String binding)
|
SAMLIdentifier |
getDefaultIDProvider()
Returns the default provider of the SAMLIdentifier interface |
int |
getIntProperty(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 |
setBooleanProperty(java.lang.String key,
java.lang.Boolean value)
Sets a binary library configuration property in boolean form |
void |
setDefaultBindingProvider(java.lang.String binding,
java.lang.String provider)
|
void |
setIntProperty(java.lang.String key,
int 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 SAMLIdentifier getDefaultIDProvider()
public java.lang.String getDefaultBindingProvider(java.lang.String binding)
public void setDefaultBindingProvider(java.lang.String binding,
java.lang.String provider)
public void setProperties(java.util.Properties properties)
properties - the configuration properties to be enabled
public 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 namepublic int getIntProperty(java.lang.String key)
key - A property name
public void setIntProperty(java.lang.String key,
int value)
key - A property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||