| java.lang.Object org.sakaiproject.dav.DavPrincipal
DavPrincipal | public class DavPrincipal implements Principal(Code) | | Implementation of Principal for Dav support in Sakai - holds the user name and password
|
Field Summary | |
protected String | m_name The username of the user represented by this Principal. | protected String | m_password The authentication credentials for the user represented by this Principal. |
m_name | protected String m_name(Code) | | The username of the user represented by this Principal.
|
m_password | protected String m_password(Code) | | The authentication credentials for the user represented by this Principal.
|
DavPrincipal | public DavPrincipal(String name, String password)(Code) | | Construct with this name and password.
Parameters: name - The username of the user represented by this Principal Parameters: password - Credentials used to authenticate this user |
hasRole | public boolean hasRole(String role)(Code) | | Does the user represented by this Principal possess the specified role?
Parameters: role - Role to be tested. true if the Principal has the role, false if not. |
|
|