|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.shibboleth.wayf.IdPSite
public class IdPSite
A class which abstracts an IdP for the sake of the WAYF display. Given an EntityDescriptor
as
input it provides bean style get functions for the name (EntityId), the display name
(a hybrid of Organization name or EntityId and the IdP's SSO connection point.
Nested Class Summary | |
---|---|
static class |
IdPSite.Compare
|
Constructor Summary | |
---|---|
IdPSite(org.opensaml.saml2.metadata.EntityDescriptor entityParam)
Create a new element from the provided Entity. |
Method Summary | |
---|---|
protected int |
compareTo(Object o,
javax.servlet.http.HttpServletRequest req)
Comparison so we can sort the output for jsp. |
String |
getAddressForWAYF()
When a user has selected an IdP, this provides the address to which we redirect. |
String |
getDisplayName()
Get the user friendly name for the entity, the language we previously set up. |
String |
getDisplayName(javax.servlet.http.HttpServletRequest req)
Get the user friendly name for the entity, collecting the locale from the browser if possible |
org.opensaml.saml2.common.Extensions |
getExtensions()
Return all the extension elements. |
String |
getName()
Get the name for the enclosed entity. |
void |
setDisplayLanguage(String lang)
Prior to display we set the display language from the browser. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdPSite(org.opensaml.saml2.metadata.EntityDescriptor entityParam)
entityParam
- - What to create fromMethod Detail |
---|
public String getName()
public String getDisplayName(javax.servlet.http.HttpServletRequest req)
req
- the request
public String getDisplayName()
public org.opensaml.saml2.common.Extensions getExtensions()
protected int compareTo(Object o, javax.servlet.http.HttpServletRequest req)
What
- to compare against
Comparator
public String getAddressForWAYF()
public void setDisplayLanguage(String lang)
lang
- the language to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |