Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.xml.crypto.wss.api
Interface NonceValidator

    public interface NonceValidator

Field Summary
`static QName` | `NONCE_FAULTCODE`

Method Summary
`void` | `checkDuplicateNonce(String nonce)` This method will check the input time is in good format and does not expired.
`void` | `checkNonceAndTime(String nonce, Calendar created)` This method will check the input time is in good format and does not expired.
`void` | `init(String config, TimestampHandler timeoutHandler)` initialize the Nonce Validator
`void` | `setExpirationTime(int expirationTime)` change the expiration time

Field Detail

### NONCE_FAULTCODE

    static final QName NONCE_FAULTCODE

Method Detail

### init

    void init(String config,
              TimestampHandler timeoutHandler)

  initialize the Nonce Validator

  Parameters:
    `config` - String of parameters to pass into the NonceValidator for initialization
    `timeoutHandler` - TimestampHandler that is used to check the expiration of the created time

### checkNonceAndTime

    void checkNonceAndTime(String nonce,
                           Calendar created)
                           throws SOAPFaultException

  This method will check the input time is in good format and does not expired. If the input is good, then it will check if there is any duplicated entry in the hash map.

  Parameters:
    `nonce` - the input nonce value
    `created` - the input time
  Throws:
    `SOAPFaultException` - invalide time format, null input or duplicate entry found

### setExpirationTime

    void setExpirationTime(int expirationTime)

  change the expiration time

  Parameters:
    `expirationTime` - time in seconds

### checkDuplicateNonce

    void checkDuplicateNonce(String nonce)
                             throws SOAPFaultException

  This method will check the input time is in good format and does not expired. If the input is good, then it will check if there is any duplicated entry in the hash set.

  Parameters:
    `nonce` - the input nonce value
  Throws:
    `SOAPFaultException` - invalide time or duplicate entry found

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD