Package com.sun.identity.saml2.meta
Class SAML2MetaUtils
java.lang.Object
com.sun.identity.saml2.meta.SAML2MetaUtils
The 
SAML2MetaUtils provides metadata related util methods.- 
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetMetaAliasByUri(String uri) Returns metaAlias embedded in uri.static StringgetRealmByMetaAlias(String metaAlias) Returns the realm by parsing the metaAlias. 
- 
Method Details
- 
getRealmByMetaAlias
Returns the realm by parsing the metaAlias. MetaAlias format is<realm>/<any string without '/'> for non-root realm or /<any string without '/'> for root realm.
- Parameters:
 metaAlias- The metaAlias.- Returns:
 - the realm associated with the metaAlias.
 
 - 
getMetaAliasByUri
Returns metaAlias embedded in uri.- Parameters:
 uri- The uri string.- Returns:
 - the metaAlias embedded in uri or null if not found.
 
 
 -