Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mozilla.jss.crypto
Class TokenSupplierManager

    java.lang.Object
      |
      +--org.mozilla.jss.crypto.TokenSupplierManager

public class TokenSupplierManager
extends java.lang.Object

The org.mozilla.jss.provider package comes before CryptoManager in the depency list, so this class is used to allow them to access CryptoManager sneakily. When CryptoManager initializes, it registers itself as a token supplier with `setTokenSupplier`. Then the providers call `getTokenSupplier` when they need to use CryptoManager. CryptoManager implements the TokenSupplier interface.

Field Summary
`private static TokenSupplier` | `supplier`

Constructor Summary
`TokenSupplierManager()`

Method Summary
`static TokenSupplier` | `getTokenSupplier()`
`static void` | `setTokenSupplier(TokenSupplier ts)`

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Field Detail

### supplier

    private static TokenSupplier supplier

Constructor Detail

### TokenSupplierManager

    public TokenSupplierManager()

Method Detail

### setTokenSupplier

    public static void setTokenSupplier(TokenSupplier ts)

### getTokenSupplier

    public static TokenSupplier getTokenSupplier()

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD