All Downloads are FREE. Search and download functionalities are using the official Maven repository.

waffle.apache.WindowsRealm Maven / Gradle / Ivy

There is a newer version: 1.8.1
Show newest version
/**
 * Waffle (https://github.com/dblock/waffle)
 *
 * Copyright (c) 2010 - 2015 Application Security, Inc.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     Application Security, Inc.
 */
package waffle.apache;

import java.security.Principal;

import org.apache.catalina.realm.RealmBase;

/**
 * A rudimentary Windows realm.
 * 
 * @author dblock[at]dblock[dot]org
 */
public class WindowsRealm extends RealmBase {

    /** The Constant NAME. */
    protected static final String NAME = "waffle.apache.WindowsRealm/1.0";

    /* (non-Javadoc)
     * @see org.apache.catalina.realm.RealmBase#getName()
     */
    @Override
    protected String getName() {
        return NAME;
    }

    /* (non-Javadoc)
     * @see org.apache.catalina.realm.RealmBase#getPassword(java.lang.String)
     */
    @Override
    protected String getPassword(final String arg0) {
        return null;
    }

    /* (non-Javadoc)
     * @see org.apache.catalina.realm.RealmBase#getPrincipal(java.lang.String)
     */
    @Override
    protected Principal getPrincipal(final String arg0) {
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy