Class 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 roles
      boolean isUseAdminUser​(java.lang.String userName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecurityService

        public SecurityService()
    • 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)