001package com.randomnoun.common.security.impl;
002
003/* (c) 2013 randomnoun. All Rights Reserved. This work is licensed under a
004 * BSD Simplified License. (http://www.randomnoun.com/bsd-simplified.html)
005 */
006
007import java.io.IOException;
008import java.util.Map;
009
010import com.randomnoun.common.security.SecurityAuthenticator;
011import com.randomnoun.common.security.User;
012
013public class NullSecurityAuthenticatorImpl implements SecurityAuthenticator {
014
015        public void initialise(Map<String, Object> properties) {
016                // TODO Auto-generated method stub
017                
018        }
019
020        // everybody wins !
021        public boolean authenticate(User user, String password) throws IOException {
022                return true;
023        }
024
025}