Interface SharedSecretProvider


  • @SupportedAll
    public interface SharedSecretProvider
    Provided as an extension point to allow customised transformation of the OATH shared secret attribute.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] getSharedSecret​(String secretKey)
      Takes the non-empty shared secret that is retrieved for a user and implements any processing needed for to return the byte array of the string value.
    • Method Detail

      • getSharedSecret

        byte[] getSharedSecret​(String secretKey)
                        throws AuthLoginException
        Takes the non-empty shared secret that is retrieved for a user and implements any processing needed for to return the byte array of the string value. the module will fail.
        Parameters:
        secretKey - shared secret value
        Returns:
        a byte array of the shared secret - this should not be null
        Throws:
        AuthLoginException - if an error occurs transforming the value and should cause the module to fail.