org.jasig.schedassist.web.security
Class DelegateCalendarAccountUserDetailsServiceImpl

java.lang.Object
  extended by org.jasig.schedassist.web.security.DelegateCalendarAccountUserDetailsServiceImpl
All Implemented Interfaces:
org.springframework.security.core.userdetails.UserDetailsService

public class DelegateCalendarAccountUserDetailsServiceImpl
extends Object
implements org.springframework.security.core.userdetails.UserDetailsService

UserDetailsService that returns DelegateCalendarAccountUserDetailsImpl instances. Requires that a valid CalendarAccountUserDetailsImpl be in the current SecurityContext.

Version:
$Id: DelegateCalendarAccountUserDetailsServiceImpl.java 2045 2010-04-30 15:55:52Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Field Summary
protected  org.apache.commons.logging.Log LOG
           
 
Constructor Summary
DelegateCalendarAccountUserDetailsServiceImpl()
           
 
Method Summary
 org.springframework.security.core.userdetails.UserDetails loadUserByUsername(String username)
           
 void setDelegateCalendarAccountDao(IDelegateCalendarAccountDao delegateCalendarAccountDao)
           
 void setOwnerDao(OwnerDao ownerDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected final org.apache.commons.logging.Log LOG
Constructor Detail

DelegateCalendarAccountUserDetailsServiceImpl

public DelegateCalendarAccountUserDetailsServiceImpl()
Method Detail

setDelegateCalendarAccountDao

public void setDelegateCalendarAccountDao(IDelegateCalendarAccountDao delegateCalendarAccountDao)
Parameters:
delegateCalendarAccountDao - the delegateCalendarAccountDao to set

setOwnerDao

public void setOwnerDao(OwnerDao ownerDao)
Parameters:
ownerDao - the ownerDao to set

loadUserByUsername

public 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


Copyright © 2012 Jasig. All Rights Reserved.