Code example for Header

Methods: getName, getValue

0
    public BasicScheme() { 
        super(); 
        this.complete = false;
    } 
 
    /** 
     * Returns textual designation of the basic authentication scheme. 
     *  
     * @return <code>basic</code> 
     */ 
    public String getSchemeName() {
        return "basic"; 
    } 
 
    /** 
     * Processes the Basic challenge. 
     *   
     * @param header the challenge header 
     *  
     * @throws MalformedChallengeException is thrown if the authentication challenge 
     * is malformed 
     */ 
    @Override 
    public void processChallenge( 
            final Header header) throws MalformedChallengeException {
        super.processChallenge(header);