|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.identity.federation.api.wstrust.WSTrustUtil
public class WSTrustUtil
Utility class that provides methods for parsing/creating WS-Trust elements.
| Constructor Summary | |
|---|---|
WSTrustUtil()
|
|
| Method Summary | |
|---|---|
static LifetimeType |
createDefaultLifetime(long tokenTimeout)
Creates a LifetimeType instance that specifies a range of time that starts at the current GMT time and has
the specified duration in milliseconds. |
static long |
getCurrentGMTTime()
Obtains the current GMT time in milliseconds. |
static java.lang.String |
parseAppliesTo(AppliesTo appliesTo)
Parses the contents of the AppliesTo element and returns the address the uniquely identify the service
provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSTrustUtil()
| Method Detail |
|---|
public static java.lang.String parseAppliesTo(AppliesTo appliesTo)
Parses the contents of the AppliesTo element and returns the address the uniquely identify the service
provider.
appliesTo - the AppliesTo instance to be parsed.
public static LifetimeType createDefaultLifetime(long tokenTimeout)
Creates a LifetimeType instance that specifies a range of time that starts at the current GMT time and has
the specified duration in milliseconds.
tokenTimeout - the token timeout value (in milliseconds).
LifetimeType instance.public static long getCurrentGMTTime()
Obtains the current GMT time in milliseconds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||