|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.wayf.HandlerConfig
public class HandlerConfig
Class used by the DiscoveryServiceHandler to handle run time behaviour.
| Field Summary | |
|---|---|
private String |
errorJspFile
Where to find the error jsp file. |
private HashSet<String> |
ignoredForMatch
A set of names which are ignored when doing a search. |
private String |
jspFile
Where to find the GUI description jsp file. |
private static Logger |
LOG
How to get debug output out. |
private boolean |
lookupSp
Do we do a pre-filter by SP name in for each metadata provider. |
private boolean |
provideList
Do we give the jsp file a flat list of IdPs? |
private boolean |
provideListOfLists
Do we give the jsp file an array of arrays of IdPs? |
private boolean |
warnOnBadBinding
Do we warn on the bad binding. |
private boolean |
warnOnNoSAML2
Do we warn on the SP not have SAML2 endpoints if we are approached as DS. |
| Constructor Summary | |
|---|---|
HandlerConfig()
Build the 'default default' configuation. |
|
HandlerConfig(Element config,
HandlerConfig defaultValue)
Parse the Supplied XML element into a new WayfConfig Object. |
|
| Method Summary | |
|---|---|
private void |
addIgnoredForMatch(String s)
Sets the tokens that should be ignored when a user searches for an origin site. |
String |
getErrorJspFile()
Get the name of the error jsp File this instance uses. |
String |
getJspFile()
Get the name of the jsp File this instance uses. |
boolean |
getLookupSp()
Do we lookup the SP or just return all the IdPs?. |
boolean |
getProvideList()
Do we provide a list of IdPs?. |
boolean |
getProvideListOfLists()
Do we provide a list of lists of IdPs?. |
boolean |
getWarnOnBadBinding()
Do ignore badly formed bindings or just warn. |
boolean |
getwarnOnNoSAML2()
Do we check to see whether an SP has SAML2 end points when approached from is to speak DS. |
boolean |
isIgnoredForMatch(String str)
Determines if a particular string token should be used for matching when a user searches for origins. |
private boolean |
lookupElement(Element element,
String attributeName,
boolean defaultValue)
Lookup for the names attribute, falling back to a default. |
private String |
lookupElement(Element element,
String attributeName,
String defaultValue)
Lookup for the names attribute, falling back to a default. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Logger LOG
private final HashSet<String> ignoredForMatch
private final String jspFile
private final String errorJspFile
private final boolean provideListOfLists
private final boolean provideList
private final boolean lookupSp
private final boolean warnOnBadBinding
private final boolean warnOnNoSAML2
| Constructor Detail |
|---|
public HandlerConfig()
public HandlerConfig(Element config,
HandlerConfig defaultValue)
throws ShibbolethConfigurationException
config - - The XML with the configuration info.defaultValue - - The default if nothing is specified.
ShibbolethConfigurationException - - if we see somethin wrong.| Method Detail |
|---|
private boolean lookupElement(Element element,
String attributeName,
boolean defaultValue)
element - The DOM elemtn we are looking at.attributeName - The name to lookup.defaultValue - The value to default to.
private String lookupElement(Element element,
String attributeName,
String defaultValue)
element - The DOM elemtn we are looking at.attributeName - The name to lookup.defaultValue - The value.
public boolean isIgnoredForMatch(String str)
str - - The string to lookup.
private void addIgnoredForMatch(String s)
s - The ignored tokens are passed as a single string, each separated by whitespacepublic String getJspFile()
public String getErrorJspFile()
public boolean getProvideListOfLists()
public boolean getProvideList()
public boolean getLookupSp()
public boolean getWarnOnBadBinding()
public boolean getwarnOnNoSAML2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||