Interface KeyProvider


  • public interface KeyProvider
    Create a class that inherit from 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();
       }
     }
     
    Author:
    Arnaud Fonce
    See Also:
    Provider
    • Method Detail

      • getKey

        byte[] getKey()