Package org.sakaiproject.dav
Class DavPrincipal
- java.lang.Object
-
- org.sakaiproject.dav.DavPrincipal
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_nameThe username of the user represented by this Principal.protected Stringm_passwordThe authentication credentials for the user represented by this Principal.
-
Constructor Summary
Constructors Constructor Description DavPrincipal(String name, String password)Construct with this name and password.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringgetPassword()booleanhasRole(String role)Does the user represented by this Principal possess the specified role?StringtoString()
-