org.alfresco.repo.security.authentication
Class AbstractAuthenticationService

java.lang.Object
  extended by 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


Constructor Summary
AbstractAuthenticationService()
           
 
Method Summary
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 setSysAdminParams(SysAdminParams sysAdminParams)
           
 
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
 

Constructor Detail

AbstractAuthenticationService

public AbstractAuthenticationService()
Method Detail

setSysAdminParams

public void setSysAdminParams(SysAdminParams sysAdminParams)

preAuthenticationCheck

public void preAuthenticationCheck(java.lang.String userName)
                            throws org.alfresco.repo.security.authentication.AuthenticationException
Throws:
org.alfresco.repo.security.authentication.AuthenticationException

getAllowedUsers

public java.util.List getAllowedUsers()

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()


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