blackboard.cms.filesystem.security
Class UserPrincipal

java.lang.Object
  extended by blackboard.cms.filesystem.security.CSPrincipal
      extended by blackboard.cms.filesystem.security.UserPrincipal

public class UserPrincipal
extends CSPrincipal

Object used to represent a CSPrincipal for a User

Since:
Bb CS 1.2
Version:
$Revision: #1 $

Method Summary
static java.lang.String calculatePrincipalID(blackboard.data.user.User user)
          Returns a string that represents the User Principal ID
static UserPrincipal createInstance(blackboard.data.user.User user)
          Create an instance of UserPrincipal
 blackboard.data.user.User getUser()
          Returns the User associated with this UserPrincipal
 
Methods inherited from class blackboard.cms.filesystem.security.CSPrincipal
getDisplayName, getPrincipalID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getUser

public blackboard.data.user.User getUser()
Returns the User associated with this UserPrincipal

Returns:
a User

createInstance

public static UserPrincipal createInstance(blackboard.data.user.User user)
Create an instance of UserPrincipal

Parameters:
user - a User
Returns:
a UserPrincipal

calculatePrincipalID

public static java.lang.String calculatePrincipalID(blackboard.data.user.User user)
Returns a string that represents the User Principal ID

Parameters:
user - a User
Returns:
a String that represents the PrincipalID for the User


Copyright © 2003-2004 Blackboard, Inc. All Rights Reserved.