@Override
    public void initialize(@Sensitive Map tokenFactoryMap) {
        expirationInMinutes = (Long) tokenFactoryMap.get(LTPAConstants.EXPIRATION);
        sharedKey = (byte[]) tokenFactoryMap.get(LTPAConstants.SECRET_KEY);
        publicKey = (LTPAPublicKey) tokenFactoryMap.get(LTPAConstants.PUBLIC_KEY);
        privateKey = (LTPAPrivateKey) tokenFactoryMap.get(LTPAConstants.PRIVATE_KEY);
    }
@ Override public void initialize ( @ Sensitive Map tokenFactoryMap ) { expirationInMinutes = ( Long ) tokenFactoryMap . get ( LTPAConstants . EXPIRATION ) ; sharedKey = ( byte [ ] ) tokenFactoryMap . get ( LTPAConstants . SECRET_KEY ) ; publicKey = ( LTPAPublicKey ) tokenFactoryMap . get ( LTPAConstants . PUBLIC_KEY ) ; privateKey = ( LTPAPrivateKey ) tokenFactoryMap . get ( LTPAConstants . PRIVATE_KEY ) ; }
{@inheritDoc}