org.alfresco.repo.security.authentication
Class AbstractAuthenticationService
java.lang.Object
org.alfresco.repo.security.authentication.AbstractAuthenticationService
- All Implemented Interfaces:
- AuthenticationService
- Direct Known Subclasses:
- AbstractChainingAuthenticationService, AuthenticationServiceImpl
public abstract class AbstractAuthenticationService
- extends java.lang.Object
- implements AuthenticationService
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, getAuthenticationEnabled, getCurrentTicket, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getDomains, getDomainsThatAllowUserCreation, getDomainsThatAllowUserDeletion, getDomiansThatAllowUserPasswordChanges, getNewTicket, guestUserAuthenticationAllowed, invalidateTicket, invalidateUserSession, isCurrentUserTheSystemUser, validate |
AbstractAuthenticationService
public AbstractAuthenticationService()
setSysAdminParams
public void setSysAdminParams(SysAdminParams sysAdminParams)
preAuthenticationCheck
public void preAuthenticationCheck(java.lang.String userName)
throws AuthenticationException
- Throws:
AuthenticationException
getAllowedUsers
public java.util.List getAllowedUsers()
getMaxUsers
public int getMaxUsers()
getCurrentTicket
public java.lang.String getCurrentTicket()
- Description copied from interface:
AuthenticationService
- Gets the current ticket as a string. If there isn't an appropriate current ticket, a new ticket will be made the
current ticket.
- Specified by:
getCurrentTicket
in interface AuthenticationService
- Returns:
- the current ticket as a string
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()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.