Class SecurityHandler


  • public class SecurityHandler
    extends Object
    Author:
    anilam
    • Constructor Detail

      • SecurityHandler

        public SecurityHandler()
    • Method Detail

      • getRealmAttrForCreate

        public static void getRealmAttrForCreate​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This handler returns the a Map for storing the attributes for realm creation.

        Parameters:
        handlerCtx - The HandlerContext.
      • getRealmAttrForEdit

        public static void getRealmAttrForEdit​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This handler returns the a Map for storing the attributes for editing a realm. This can be used by either the node agent realm or the realm in configuration-Security-realm

        Parameters:
        handlerCtx - The HandlerContext.
      • getChildrenMapForTableList

        public static List getChildrenMapForTableList​(List<HashMap> propList,
                                                      String childType,
                                                      List skipList)
      • saveRealm

        public static void saveRealm​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
      • saveUser

        public static void saveUser​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This handler update's user info.

        Input value: "Realm" -- Type: java.lang.String

        Output value: "UserId" -- Type: java.lang.String

        Output value: "GroupList" -- Type: java.lang.String

        Output value: "Password" -- Type: java.lang.String

        Parameters:
        handlerCtx - The HandlerContext.
      • getUserInfo

        public static void getUserInfo​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This handler returns the attribute values in the Edit Manage User Password Page.

        Input value: "Realm" -- Type: java.lang.String

        Output value: "UserId" -- Type: java.lang.String

        Output value: "GroupList" -- Type: java.lang.String

        Parameters:
        handlerCtx - The HandlerContext.
      • getFileUsers

        public static void getFileUsers​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This handler returns the list of file users for specified realm.

        Parameters:
        handlerCtx - The HandlerContext.
      • removeUser

        public static void removeUser​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This handler removes users for specified realm.

        Parameters:
        handlerCtx - The HandlerContext.
      • addDefaultProviderInfo

        public static void addDefaultProviderInfo​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
      • getMessageSecurityAuthLayersForCreate

        public static void getMessageSecurityAuthLayersForCreate​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
                                                          throws Exception
        Throws:
        Exception
      • getProvidersByType

        public static void getProvidersByType​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
                                       throws Exception
        Throws:
        Exception
      • saveMsgProviderInfo

        public static void saveMsgProviderInfo​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
      • saveSecurityManagerValue

        public static void saveSecurityManagerValue​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
      • getSecurityManagerValue

        public static void getSecurityManagerValue​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)