Class SecurityMapUtils
- java.lang.Object
-
- com.sun.enterprise.connectors.util.SecurityMapUtils
-
public class SecurityMapUtils extends Object
This is class performs the task of adding/deleting and updating the security maps to the connector registry.- Author:
- Srikanth P
-
-
Constructor Summary
Constructors Constructor Description SecurityMapUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectorSecurityMap[]
getConnectorSecurityMaps(List<SecurityMap> securityMapList)
static RuntimeSecurityMap
processSecurityMaps(ConnectorSecurityMap[] securityMaps)
Updates the registry with the security map.
-
-
-
Field Detail
-
USERMAP
public static final String USERMAP
- See Also:
- Constant Field Values
-
GROUPMAP
public static final String GROUPMAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
processSecurityMaps
public static RuntimeSecurityMap processSecurityMaps(ConnectorSecurityMap[] securityMaps)
Updates the registry with the security map. If a security map already exists it deletes that map completely before adding the mew security map.- Parameters:
securityMaps
- Array of securityMaps to be updated.- Returns:
- Hash Map containing 1 - 1 mappings of principal and Resource Principal
-
getConnectorSecurityMaps
public static ConnectorSecurityMap[] getConnectorSecurityMaps(List<SecurityMap> securityMapList)
-
-