org.alfresco.repo.security.authentication
Class AbstractAuthenticationService
java.lang.Object
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
| 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 |
AbstractAuthenticationService
public AbstractAuthenticationService()
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.