# Uses of Class
org.apache.wiki.auth.NoSuchPrincipalException

Packages that use NoSuchPrincipalException
Package
Description
org.apache.wiki.auth
Authentication, Authorization and the third A thing.
org.apache.wiki.auth.authorize
Authorizer implementation.
org.apache.wiki.auth.user

## Uses of NoSuchPrincipalException in org.apache.wiki.auth

Methods in org.apache.wiki.auth that throw NoSuchPrincipalException
Modifier and Type
Method
Description
`UserProfile`
DefaultUserManager.JSONUserModule.`getUserInfo(String uid)`
Directly returns the UserProfile object attached to an uid.

## Uses of NoSuchPrincipalException in org.apache.wiki.auth.authorize

Methods in org.apache.wiki.auth.authorize that throw NoSuchPrincipalException
Modifier and Type
Method
Description
`Group`
DefaultGroupManager.`getGroup(String name)`
Returns the Group matching a given name.
`Group`
GroupManager.`getGroup(String name)`
Returns the Group matching a given name.

## Uses of NoSuchPrincipalException in org.apache.wiki.auth.user

Methods in org.apache.wiki.auth.user that throw NoSuchPrincipalException
Modifier and Type
Method
Description
`void`
UserDatabase.`deleteByLoginName(String loginName)`
Looks up and deletes the first `UserProfile` in the user database that matches a profile having a given login name.
`UserProfile`
AbstractUserDatabase.`find(String index)`
Looks up and returns the first `UserProfile` in the user database that whose login name, full name, or wiki name matches the supplied string.
`UserProfile`
UserDatabase.`find(String index)`
Looks up and returns the first `UserProfile` in the user database that whose login name, full name, or wiki name matches the supplied string.
`UserProfile`
XMLUserDatabase.`findBy(String attr, String value)`
`abstract UserProfile`
AbstractUserDatabase.`findByEmail(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given e-mail address.
`UserProfile`
DummyUserDatabase.`findByEmail(String index)`
No-op; always throws `NoSuchPrincipalException`.
`UserProfile`
JDBCUserDatabase.`findByEmail(String index)`
`UserProfile`
UserDatabase.`findByEmail(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given e-mail address.
`UserProfile`
XMLUserDatabase.`findByEmail(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given e-mail address.
`abstract UserProfile`
AbstractUserDatabase.`findByFullName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given full name.
`UserProfile`
DummyUserDatabase.`findByFullName(String index)`
No-op; always throws `NoSuchPrincipalException`.
`UserProfile`
JDBCUserDatabase.`findByFullName(String index)`
`UserProfile`
UserDatabase.`findByFullName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given full name.
`UserProfile`
XMLUserDatabase.`findByFullName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given full name.
`abstract UserProfile`
AbstractUserDatabase.`findByLoginName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given login name.
`UserProfile`
DummyUserDatabase.`findByLoginName(String index)`
No-op; always throws `NoSuchPrincipalException`.
`UserProfile`
JDBCUserDatabase.`findByLoginName(String index)`
`UserProfile`
UserDatabase.`findByLoginName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given login name.
`UserProfile`
XMLUserDatabase.`findByLoginName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given login name.
`UserProfile`
DummyUserDatabase.`findByUid(String uid)`
No-op; always throws `NoSuchPrincipalException`.
`UserProfile`
JDBCUserDatabase.`findByUid(String uid)`
`UserProfile`
UserDatabase.`findByUid(String uid)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given unique ID (uid).
`UserProfile`
XMLUserDatabase.`findByUid(String uid)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given unique ID (uid).
`abstract UserProfile`
AbstractUserDatabase.`findByWikiName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given wiki name.
`UserProfile`
DummyUserDatabase.`findByWikiName(String index)`
No-op; always throws `NoSuchPrincipalException`.
`UserProfile`
JDBCUserDatabase.`findByWikiName(String index)`
`UserProfile`
UserDatabase.`findByWikiName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given wiki name.
`UserProfile`
XMLUserDatabase.`findByWikiName(String index)`
Looks up and returns the first `UserProfile` in the user database that matches a profile having a given wiki name.
`Principal[]`
AbstractUserDatabase.`getPrincipals(String identifier)`
Looks up the Principals representing a user from the user database.
`Principal[]`
UserDatabase.`getPrincipals(String identifier)`
Looks up the Principals representing a user from the user database.
`void`
DummyUserDatabase.`rename(String loginName, String newName)`
No-op; always throws `NoSuchPrincipalException`.
`void`
UserDatabase.`rename(String loginName, String newName)`
Renames a `UserProfile` in the user database by changing the profile's login name.