Package org.gluu.oxtrust.service
Class SecurityService
- java.lang.Object
-
- org.gluu.oxtrust.service.SecurityService
-
- All Implemented Interfaces:
java.io.Serializable
@Named("securityService") public class SecurityService extends java.lang.Object implements java.io.Serializable
Provides operations with groups- Author:
- Yuriy Movchan Date: 11.02.2010
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gluu.model.user.UserRole[]
getUserRoles(User user)
Get person user rolesboolean
isUseAdminUser(java.lang.String userName)
-
-
-
Method Detail
-
getUserRoles
public org.gluu.model.user.UserRole[] getUserRoles(User user)
Get person user roles- Parameters:
user
- Person- Returns:
- List of roles
- Throws:
java.lang.Exception
- exception
-
isUseAdminUser
public boolean isUseAdminUser(java.lang.String userName)
-
-