Package com.sun.identity.saml2.meta
Class SAML2MetaUtils
- java.lang.Object
 - 
- com.sun.identity.saml2.meta.SAML2MetaUtils
 
 
- 
@Supported public final class SAML2MetaUtils extends Object
TheSAML2MetaUtilsprovides metadata related util methods. 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetMetaAliasByUri(String uri)Returns metaAlias embedded in uri.static StringgetRealmByMetaAlias(String metaAlias)Returns the realm by parsing the metaAlias. 
 - 
 
- 
- 
Method Detail
- 
getRealmByMetaAlias
@Supported public static String getRealmByMetaAlias(String metaAlias)
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
@Supported public static String getMetaAliasByUri(String uri)
Returns metaAlias embedded in uri.- Parameters:
 uri- The uri string.- Returns:
 - the metaAlias embedded in uri or null if not found.
 
 
 - 
 
 -