Class PegasusLocalAuthInfo


  • public class PegasusLocalAuthInfo
    extends AuthorizationInfo
    Implements OpenPegasus local authentication
    • Constructor Detail

      • PegasusLocalAuthInfo

        public PegasusLocalAuthInfo()
        Default ctor.
    • Method Detail

      • updateAuthenticationInfo

        public void updateAuthenticationInfo​(Challenge challenge,
                                             java.lang.String authenticate,
                                             java.net.URI url,
                                             java.lang.String requestMethod)
        Description copied from class: AuthorizationInfo
        Updates the authorization information according to a received challenge.
        Specified by:
        updateAuthenticationInfo in class AuthorizationInfo
        Parameters:
        challenge -
        authenticate -
        url -
        requestMethod -
      • getHeaderFieldName

        public java.lang.String getHeaderFieldName()
        Description copied from class: AuthorizationInfo
        Gets the HTTP header field name for this authentication information
        Specified by:
        getHeaderFieldName in class AuthorizationInfo
        Returns:
        The field name
      • isSentOnFirstRequest

        public boolean isSentOnFirstRequest()
        Description copied from class: AuthorizationInfo
        Determines if the authorization information is already sent on the very first http request or after the "401 Unauthorized" response
        Specified by:
        isSentOnFirstRequest in class AuthorizationInfo
        Returns:
        true or false
      • isKeptAlive

        public boolean isKeptAlive()
        Description copied from class: AuthorizationInfo
        Determines if the connection is kept alive after the "401 Unauthorized" response
        Specified by:
        isKeptAlive in class AuthorizationInfo
        Returns:
        true or false