|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.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
This allows us to set up sorted lists of entities with respect to the browser request. |
| Field Summary | |
|---|---|
private String |
displayLanguage
The language we set up. |
private org.opensaml.saml2.metadata.EntityDescriptor |
entity
The OpenSaml element that this stands for. |
| Constructor Summary | |
|---|---|
IdPSite(org.opensaml.saml2.metadata.EntityDescriptor entityParam)
Create a new element from the provided Entity. |
|
| Method Summary | |
|---|---|
protected int |
compareTo(Object o,
HttpServletRequest req)
Comparison so we can sort the output for jsp. |
String |
getAddressForWAYF()
Get URL for Shibboleth SSO endpoint. |
protected static String |
getAddressForWAYF(org.opensaml.saml2.metadata.EntityDescriptor theEntity)
Get URL for Shibboleth SSO endpoint. |
String |
getDisplayName()
Get the user friendly name for the entity, the language we previously set up. |
String |
getDisplayName(HttpServletRequest req)
Get the user friendly name for the entity, collecting the locale from the browser if possible. |
private String |
getDisplayName(String lang)
Get the user friendly name for the entity, using provided language. |
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 |
| Field Detail |
|---|
private org.opensaml.saml2.metadata.EntityDescriptor entity
private String displayLanguage
| Constructor Detail |
|---|
public IdPSite(org.opensaml.saml2.metadata.EntityDescriptor entityParam)
entityParam - - What to create from| Method Detail |
|---|
public String getName()
public String getDisplayName(HttpServletRequest req)
req - the request
private String getDisplayName(String lang)
lang - the language.
public String getDisplayName()
public org.opensaml.saml2.common.Extensions getExtensions()
protected int compareTo(Object o,
HttpServletRequest req)
o - What to compare againstreq - The request.
Comparatorprotected static String getAddressForWAYF(org.opensaml.saml2.metadata.EntityDescriptor theEntity)
theEntity - the entity in question
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 | |||||||||