Class SecurityHandler
- Author:
- anilam
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddDefaultProviderInfo(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static ListgetChildrenMapForTableList(List<HashMap> propList, String childType, List skipList) static voidgetFileUsers(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler returns the list of file users for specified realm.getListfromMap(HashMap<String, Object> props) static voidgetMessageSecurityAuthLayersForCreate(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidgetProvidersByType(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidgetRealmAttrForCreate(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler returns the a Map for storing the attributes for realm creation.static voidgetRealmAttrForEdit(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler returns the a Map for storing the attributes for editing a realm.static voidgetSecurityManagerValue(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidgetUserInfo(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler returns the attribute values in the Edit Manage User Password Page.static voidstatic voidremoveUser(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler removes users for specified realm.static voidsaveMsgProviderInfo(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidsaveRealm(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidsaveSecurityManagerValue(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) static voidsaveUser(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) This handler update's user info.
-
Constructor Details
-
SecurityHandler
public SecurityHandler()
-
-
Method Details
-
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
-
getListfromMap
-
saveRealm
public static void saveRealm(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx) -
putOptional
-
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.StringOutput value: "UserId" -- Type:
java.lang.StringOutput value: "GroupList" -- Type:
java.lang.StringOutput 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.StringOutput value: "UserId" -- Type:
java.lang.StringOutput 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)
-