org.jasig.schedassist.web.security
Class CalendarAccountUserDetailsServiceImpl
java.lang.Object
org.jasig.schedassist.web.security.CalendarAccountUserDetailsServiceImpl
- All Implemented Interfaces:
- org.springframework.security.core.userdetails.UserDetailsService
@Service(value="userDetailsService")
public class CalendarAccountUserDetailsServiceImpl
- extends Object
- implements org.springframework.security.core.userdetails.UserDetailsService
UserDetailsService for person ICalendarAccounts.
- Version:
- $Id: CalendarAccountUserDetailsServiceImpl.java 2979 2011-01-25 19:24:44Z npblair $
- Author:
- Nicholas Blair, nblair@doit.wisc.edu
|
Field Summary |
protected org.apache.commons.logging.Log |
LOG
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected final org.apache.commons.logging.Log LOG
CalendarAccountUserDetailsServiceImpl
public CalendarAccountUserDetailsServiceImpl()
setCalendarAccountDao
public void setCalendarAccountDao(ICalendarAccountDao calendarAccountDao)
- Parameters:
calendarAccountDao - the calendarAccountDao to set
setVisitorDao
public void setVisitorDao(VisitorDao visitorDao)
- Parameters:
visitorDao - the visitorDao to set
setOwnerDao
public void setOwnerDao(OwnerDao ownerDao)
- Parameters:
ownerDao - the ownerDao to set
setAdministratorListProperty
public void setAdministratorListProperty(String propertyValue)
- Parameters:
administrators - the administrators to set
setActiveDisplayNameAttribute
public void setActiveDisplayNameAttribute(String activeDisplayNameAttribute)
- Parameters:
activeDisplayNameAttribute - the activeDisplayNameAttribute to set
getCalendarAccountDao
public ICalendarAccountDao getCalendarAccountDao()
- Returns:
- the calendarAccountDao
getVisitorDao
public VisitorDao getVisitorDao()
- Returns:
- the visitorDao
getOwnerDao
public OwnerDao getOwnerDao()
- Returns:
- the ownerDao
getActiveDisplayNameAttribute
public String getActiveDisplayNameAttribute()
- Returns:
- the activeDisplayNameAttribute
loadUserByUsername
public final org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username)
throws org.springframework.security.core.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
- Specified by:
loadUserByUsername in interface org.springframework.security.core.userdetails.UserDetailsService
- Throws:
org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
getCalendarAccount
protected ICalendarAccount getCalendarAccount(String value)
- Parameters:
value -
- Returns:
checkForVisitorAndOwner
protected void checkForVisitorAndOwner(CalendarAccountUserDetailsImpl accountUserDetails)
- Mutate the
CalendarAccountUserDetailsImpl argument, calling
CalendarAccountUserDetailsImpl.setScheduleOwner(IScheduleOwner) and
CalendarAccountUserDetailsImpl.setScheduleVisitor(IScheduleVisitor) where appropriate.
- Parameters:
accountUserDetails - the instance to mutate
Copyright © 2011 Jasig. All Rights Reserved.