org.alfresco.repo.security.authentication
Class AbstractAuthenticationService

java.lang.Object
  extended by org.alfresco.repo.security.authentication.AbstractAuthenticationService
All Implemented Interfaces:
AuthenticationService, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
AuthenticationServiceImpl, ChainingAuthenticationServiceImpl

public abstract class AbstractAuthenticationService
extends java.lang.Object
implements AuthenticationService, org.springframework.beans.factory.InitializingBean

Common code for authentication services


Constructor Summary
AbstractAuthenticationService()
           
 
Method Summary
 void afterPropertiesSet()
           
abstract  int countTickets(boolean nonExpiredOnly)
           
 java.util.List getAllowedUsers()
           
 int getMaxUsers()
           
abstract  java.util.Set getTicketComponents()
           
abstract  java.util.Set getUsersWithTickets(boolean nonExpiredOnly)
           
abstract  int invalidateTickets(boolean nonExpiredOnly)
           
 void preAuthenticationCheck(java.lang.String userName)
           
 void setAllowedUsers(java.util.List allowedUsers)
           
 void setMaxUsers(int maxUsers)
           
 void setSysAdminCache(SimpleCache sysAdminCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.alfresco.service.cmr.security.AuthenticationService
authenticate, authenticateAsGuest, authenticationExists, clearCurrentSecurityContext, createAuthentication, deleteAuthentication, getAuthenticationEnabled, getCurrentTicket, getCurrentUserName, getDomains, getDomainsThatAllowUserCreation, getDomainsThatAllowUserDeletion, getDomiansThatAllowUserPasswordChanges, getNewTicket, guestUserAuthenticationAllowed, invalidateTicket, invalidateUserSession, isCurrentUserTheSystemUser, setAuthentication, setAuthenticationEnabled, updateAuthentication, validate
 

Constructor Detail

AbstractAuthenticationService

public AbstractAuthenticationService()
Method Detail

setSysAdminCache

public void setSysAdminCache(SimpleCache sysAdminCache)

preAuthenticationCheck

public void preAuthenticationCheck(java.lang.String userName)
                            throws AuthenticationException
Throws:
AuthenticationException

setAllowedUsers

public void setAllowedUsers(java.util.List allowedUsers)

getAllowedUsers

public java.util.List getAllowedUsers()

setMaxUsers

public void setMaxUsers(int maxUsers)

getMaxUsers

public int getMaxUsers()

getUsersWithTickets

public abstract java.util.Set getUsersWithTickets(boolean nonExpiredOnly)

invalidateTickets

public abstract int invalidateTickets(boolean nonExpiredOnly)

countTickets

public abstract int countTickets(boolean nonExpiredOnly)

getTicketComponents

public abstract java.util.Set getTicketComponents()

afterPropertiesSet

public final void afterPropertiesSet()
                              throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.