public interface KeyProvider
KeyProvider to define the key used to encrypt session token.
The created class must be annoted with Provider.
For instance :
@Provider
public class KeyProviderImpl implements KeyProvider {
@Override
public byte[] getKey() {
return "My Key...".getBytes();
}
}
Provider| Modifier and Type | Method and Description |
|---|---|
byte[] |
getKey() |
Copyright © 2019. All rights reserved.