Class AuthUtils


  • public class AuthUtils
    extends Object
    • Constructor Detail

      • AuthUtils

        public AuthUtils()
    • Method Detail

      • getAuthHandler

        public static AuthHandler getAuthHandler​(org.apache.axiom.om.OMElement httpElement)
                                          throws AuthException
        This method will return an AuthHandler instance depending on the auth configs
        Parameters:
        httpElement - Element containing http configs
        Returns:
        AuthHandler object
        Throws:
        AuthException - throw exception for invalid auth configs