public class ServiceTagSupport extends BodyTagSupport
| Modifier and Type | Field and Description |
|---|---|
private String |
cssClass
Bean storage.
|
private String |
cssId
Bean storage.
|
private String |
cssStyle
Bean storage.
|
private static Logger |
log
Class logger.
|
private static com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> |
metadataContextLookupStrategy
Strategy function for access to
SAMLMetadataContext for input to resolver. |
private static long |
serialVersionUID
Serial ID.
|
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ServiceTagSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassAndId(StringBuilder sb)
Add the class and Id (if present) to the string under construction.
|
protected String |
buildHyperLink(String url,
String text)
Build a hyperlink from the parameters.
|
protected List<String> |
getBrowserLanguages()
Pluck the languages from the browser.
|
private String |
getNameFromAttributeConsumingService(String lang)
look for an <AttributeConsumeService> and if its there look for an appropriate name.
|
private String |
getNameFromEntityId()
If the entityId can look like a host return that, otherwise the entityId in full.
|
private String |
getNameFromUIInfo(String lang)
look at <UIinfo>; if there and if so look for appropriate name.
|
protected String |
getServiceName()
Get the identifier for the service name as per the rules above.
|
protected org.opensaml.saml.saml2.metadata.EntityDescriptor |
getSPEntityDescriptor()
Get the
EntityDescriptor of the relying party. |
protected org.opensaml.saml.saml2.metadata.Organization |
getSPOrganization()
Traverse the SP's EntityDescriptor and pick out the
Organization. |
protected org.opensaml.saml.ext.saml2mdui.UIInfo |
getSPUIInfo()
Traverse the SP's EntityDescriptor and pick out the
UIInfo. |
void |
setCssClass(String value)
Set the Css class to use.
|
void |
setCssId(String value)
Get the Css class to use.
|
void |
setCssStyle(String value)
Set the Css style to use.
|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentprivate static final long serialVersionUID
private static Logger log
@Nonnull private static com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.messaging.context.SAMLMetadataContext> metadataContextLookupStrategy
SAMLMetadataContext for input to resolver.public void setCssClass(@Nullable String value)
value - what to setpublic void setCssId(@Nullable String value)
value - what to setpublic void setCssStyle(@Nullable String value)
value - what to setprotected void addClassAndId(@Nonnull StringBuilder sb)
sb - the StringBuilder to add to.@Nonnull protected String buildHyperLink(@Nonnull String url, @Nonnull String text)
url - the URLtext - what to embed@Nullable protected org.opensaml.saml.saml2.metadata.EntityDescriptor getSPEntityDescriptor()
EntityDescriptor of the relying party.@Nullable protected org.opensaml.saml.ext.saml2mdui.UIInfo getSPUIInfo()
UIInfo.@Nullable protected org.opensaml.saml.saml2.metadata.Organization getSPOrganization()
Organization.Organization for the SP@Nonnull protected List<String> getBrowserLanguages()
@Nullable private String getNameFromEntityId()
@Nullable private String getNameFromUIInfo(String lang)
lang - - which language to look up@Nullable private String getNameFromAttributeConsumingService(String lang)
lang - - which language to look upCopyright © 1999–2014. All rights reserved.