|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensaml.SAMLConfig
public class SAMLConfig
OpenSAML configuration bundle. Implemented as a singleton.
| Field Summary | |
|---|---|
protected Properties |
properties
|
| Constructor Summary | |
|---|---|
protected |
SAMLConfig()
|
| Method Summary | |
|---|---|
boolean |
getBooleanProperty(String key)
Gets a binary library configuration property in boolean form |
String |
getDefaultBindingProvider(String binding)
|
SAMLIdentifier |
getDefaultIDProvider()
Returns the default provider of the SAMLIdentifier interface |
int |
getIntProperty(String key)
Gets a binary library configuration property in boolean form |
String |
getProperty(String key)
Gets a library configuration property |
static SAMLConfig |
instance()
Returns the active OpenSAML configuration. |
void |
loadProperties(InputStream inStream)
Enables a set of configuration properties. |
void |
setBooleanProperty(String key,
Boolean value)
Sets a binary library configuration property in boolean form |
void |
setDefaultBindingProvider(String binding,
String provider)
|
void |
setIntProperty(String key,
int value)
Sets a binary library configuration property in boolean form |
void |
setProperties(Properties properties)
Enables a set of configuration properties. |
void |
setProperty(String key,
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 Properties properties
| Constructor Detail |
|---|
protected SAMLConfig()
| Method Detail |
|---|
public static SAMLConfig instance()
public SAMLIdentifier getDefaultIDProvider()
public String getDefaultBindingProvider(String binding)
public void setDefaultBindingProvider(String binding,
String provider)
public void setProperties(Properties properties)
properties - the configuration properties to be enabled
public void loadProperties(InputStream inStream)
throws IOException
inStream - an InputStream from which
a java properties file can be obtained.
IOException
public void setProperty(String key,
String value)
key - A property namevalue - The value to setpublic String getProperty(String key)
key - A property name
public boolean getBooleanProperty(String key)
key - A property name
public void setBooleanProperty(String key,
Boolean value)
key - A property namepublic int getIntProperty(String key)
key - A property name
public void setIntProperty(String key,
int value)
key - A property name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||