Package org.glassfish.connectors.config
Interface SecurityMap
-
- All Superinterfaces:
ConfigBeanProxy
public interface SecurityMap extends ConfigBeanProxy
Perform mapping from principal received during Servlet/EJB authentication, to credentials accepted by the EIS. This mapping is optional. It is possible to map multiple (server) principal to same backend principal
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackendPrincipal
getBackendPrincipal()
Gets the value of the backendPrincipal property.@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String
getName()
Gets the value of the name property.List<String>
getPrincipal()
get the list of principals to be mapped to backend-principalList<String>
getUserGroup()
get the list of user-groups to be mapped to backend principalvoid
setBackendPrincipal(BackendPrincipal value)
Sets the value of the backendPrincipal property.void
setName(String value)
Sets the value of the name property.void
setPrincipal(List<String> principals)
void
setUserGroup(List<String> userGroups)
-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Method Detail
-
getName
@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") @NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*") String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
void setName(String value) throws PropertyVetoException
Sets the value of the name property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getBackendPrincipal
BackendPrincipal getBackendPrincipal()
Gets the value of the backendPrincipal property.- Returns:
- possible object is
BackendPrincipal
-
setBackendPrincipal
void setBackendPrincipal(BackendPrincipal value) throws PropertyVetoException
Sets the value of the backendPrincipal property.- Parameters:
value
- allowed object isBackendPrincipal
- Throws:
PropertyVetoException
-
getPrincipal
List<String> getPrincipal()
get the list of principals to be mapped to backend-principal- Returns:
- list of principals
-
setPrincipal
void setPrincipal(List<String> principals) throws PropertyVetoException
- Throws:
PropertyVetoException
-
getUserGroup
List<String> getUserGroup()
get the list of user-groups to be mapped to backend principal- Returns:
- list of user-groups
-
setUserGroup
void setUserGroup(List<String> userGroups) throws PropertyVetoException
- Throws:
PropertyVetoException
-
-