org.jasig.schedassist.web.security
Interface CalendarAccountUserDetails

All Superinterfaces:
Serializable, org.springframework.security.core.userdetails.UserDetails
All Known Implementing Classes:
CalendarAccountUserDetailsImpl, DelegateCalendarAccountUserDetailsImpl

public interface CalendarAccountUserDetails
extends org.springframework.security.core.userdetails.UserDetails

Extension of UserDetails to carry available-specific fields.

Version:
$Id: CalendarAccountUserDetails.java 2306 2010-07-28 17:20:12Z npblair $
Author:
Nicholas Blair, nblair@doit.wisc.edu

Method Summary
 String getActiveDisplayName()
           
 ICalendarAccount getCalendarAccount()
           
 IScheduleOwner getScheduleOwner()
           
 boolean isDelegate()
           
 void updateScheduleOwner(IScheduleOwner owner)
          Update the IScheduleOwner instance stored internally.
 
Methods inherited from interface org.springframework.security.core.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Method Detail

getActiveDisplayName

String getActiveDisplayName()
Returns:
a friendly display name for this account

getCalendarAccount

ICalendarAccount getCalendarAccount()
Returns:
the ICalendarAccount for this account

getScheduleOwner

IScheduleOwner getScheduleOwner()
                                throws NotRegisteredException
Returns:
the IScheduleOwner for this account (if registered)
Throws:
NotRegisteredException - if the is account is not yet registered

isDelegate

boolean isDelegate()
Returns:
true if this account is a delegate

updateScheduleOwner

void updateScheduleOwner(IScheduleOwner owner)
Update the IScheduleOwner instance stored internally. Future calls to getScheduleOwner() should retrieve this new instance.

Parameters:
owner -


Copyright © 2012 Jasig. All Rights Reserved.