Class SIPBasicAuthAuthenticationToken

java.lang.Object
de.ikor.sip.foundation.security.authentication.SIPAuthenticationToken<SIPBasicAuthAuthenticationToken>
de.ikor.sip.foundation.security.authentication.basic.SIPBasicAuthAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication

public class SIPBasicAuthAuthenticationToken extends SIPAuthenticationToken<SIPBasicAuthAuthenticationToken>
Container for username/password tokens in the sip authentication framework.
Author:
thomas.stieglmaier
See Also:
  • Constructor Details

    • SIPBasicAuthAuthenticationToken

      public SIPBasicAuthAuthenticationToken(@NonNull @NonNull String principal, @NonNull @NonNull String credentials, boolean authenticated)
      Creates a basic auth token
      Parameters:
      principal - the username of the authorization header
      credentials - the password of the authorization header
      authenticated - indicates if the token is authenticated or not
  • Method Details