|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.common.SAMLSiteID
This class is used to generate SAML Site ID
Method Summary | |
static java.lang.String |
generateID()
Returns an ID String with length of SAMLConstants.ID_LENGTH . |
static java.lang.String |
generateSourceID(java.lang.String siteURL)
Returns SAML site ID based on siteURL , this will return a
Base64 encoded SHA-1 digest. |
static void |
main(java.lang.String[] args)
This is used to get site ID based on the host name This method will print out site ID to the standard output |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String generateID()
SAMLConstants.ID_LENGTH
.
public static java.lang.String generateSourceID(java.lang.String siteURL)
siteURL
, this will return a
Base64
encoded SHA-1
digest.
siteURL
- site URL for example:
http://host.sun.com:58080
.
public static void main(java.lang.String[] args)
args
- host name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |