Interface SpecialUserService
- 
 public interface SpecialUserServiceCollection of methods for identifying whether a givenStringcorresponds to theUniversalIdorDnof the super or special users. This is currently a means of pulling together disparate implementations from across AM, and may evolve more in the future. By default, the super user is amAdmin, and the special users are dsameuser and amService-UrlAccessAgent.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSpecialUserDn(String dn)Returnstrueif distinguished user name is a special user DN.booleanisSuperOrDsameUserUniversalIdOrDn(String uuid)Returns true if the user is superuserbooleanisSuperUserOrSpecialUserDn(String dn)Returnstrueif distinguished user name is a super administrator DN.booleanisSuperUserUniversalId(String dn)Returnstrueif and only if the user name belongs to a super user
 
- 
- 
- 
Method Detail- 
isSuperOrDsameUserUniversalIdOrDnboolean isSuperOrDsameUserUniversalIdOrDn(String uuid) Returns true if the user is superuser- Parameters:
- uuid- the uuid of the login user
 
 - 
isSuperUserOrSpecialUserDnboolean isSuperUserOrSpecialUserDn(String dn) Returnstrueif distinguished user name is a super administrator DN.- Parameters:
- dn- Distinguished name of user.
- Returns:
- trueif user is super administrator.
 
 - 
isSuperUserUniversalIdboolean isSuperUserUniversalId(String dn) Returnstrueif and only if the user name belongs to a super user- Parameters:
- dn- DN of the user
- Returns:
- trueif the user is an admin user.
 
 - 
isSpecialUserDnboolean isSpecialUserDn(String dn) Returnstrueif distinguished user name is a special user DN.- Parameters:
- dn- Distinguished name of user.
- Returns:
- trueif user is a special user.
 
 
- 
 
-