com.funambol.email.security
Class EmailOfficer

java.lang.Object
  extended by com.funambol.framework.security.AbstractOfficer
      extended by com.funambol.email.security.EmailOfficer
All Implemented Interfaces:
com.funambol.framework.security.Officer, java.io.Serializable

public class EmailOfficer
extends com.funambol.framework.security.AbstractOfficer
implements com.funambol.framework.security.Officer, java.io.Serializable

This is an implementation of the Officier interface. It always authenticates and authorizes users and resource accesses.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.funambol.framework.security.Officer
com.funambol.framework.security.Officer.AuthStatus
 
Field Summary
protected  com.funambol.framework.server.store.PersistentStore ps
           
protected  com.funambol.server.admin.UserManager userManager
           
 
Fields inherited from class com.funambol.framework.security.AbstractOfficer
AUTH_B64_MD5, log
 
Constructor Summary
EmailOfficer()
           
 
Method Summary
 com.funambol.framework.server.Sync4jUser authenticateUser(com.funambol.framework.core.Cred credential)
          Authenticates a credential.
 java.lang.String getClientAuth()
          Gets the supported authentication type
 
Methods inherited from class com.funambol.framework.security.AbstractOfficer
authorize, getServerAuth, setClientAuth, setServerAuth, unAuthenticate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.funambol.framework.security.Officer
authorize, getServerAuth, unAuthenticate
 

Field Detail

ps

protected com.funambol.framework.server.store.PersistentStore ps

userManager

protected com.funambol.server.admin.UserManager userManager
Constructor Detail

EmailOfficer

public EmailOfficer()
Method Detail

getClientAuth

public java.lang.String getClientAuth()
Gets the supported authentication type

Specified by:
getClientAuth in interface com.funambol.framework.security.Officer
Overrides:
getClientAuth in class com.funambol.framework.security.AbstractOfficer
Returns:
the basic authentication type

authenticateUser

public com.funambol.framework.server.Sync4jUser authenticateUser(com.funambol.framework.core.Cred credential)
Authenticates a credential.

Specified by:
authenticateUser in interface com.funambol.framework.security.Officer
Specified by:
authenticateUser in class com.funambol.framework.security.AbstractOfficer
Parameters:
credential - the credential to be authenticated
Returns:
the Sync4jUser if the credential is autenticated, null otherwise


Copyright © 2005-2006 Funambol.