@ManagedObject @Description(value="per-endpoint NonceManager") @AMXMetadata(type="WSNonceManager") public abstract class NonceManager extends AbstractMOMRegistrationAware
| Modifier and Type | Class and Description |
|---|---|
static class |
NonceManager.NonceException
Exception to be thrown when an Error in processing received nonces occurs.
|
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER |
static String |
nonceManager |
| Constructor and Description |
|---|
NonceManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteInstance(com.sun.xml.ws.api.server.WSEndpoint endpoint) |
static NonceManager |
getInstance(long maxNonceAge,
com.sun.xml.ws.api.server.WSEndpoint endpoint) |
long |
getMaxNonceAge() |
void |
setMaxNonceAge(long maxNonceAge)
Set the approximate maximum age for which a received nonce needs to be stored by the NonceManager
|
abstract boolean |
validateNonce(String nonce,
String created) |
isRegisteredAtMOM, setRegisteredAtMOMprotected static final Logger LOGGER
public static final String nonceManager
@ManagedAttribute public long getMaxNonceAge()
public void setMaxNonceAge(long maxNonceAge)
maxNonceAge - public abstract boolean validateNonce(String nonce, String created) throws NonceManager.NonceException
nonce - the nonce to be validatedcreated - the creation time of the nonce as indicated in the UsernameTokenNonceManager.NonceException - if a replay is detectedpublic static NonceManager getInstance(long maxNonceAge, com.sun.xml.ws.api.server.WSEndpoint endpoint)
maxNonceAge - the approximate maximum age for which a received nonce would be stored by the NonceManagerpublic static void deleteInstance(com.sun.xml.ws.api.server.WSEndpoint endpoint)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.