com.sun.enterprise.config.serverbeans
Interface SecurityMap

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface SecurityMap
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

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
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 BackendPrincipal getBackendPrincipal()
          Gets the value of the backendPrincipal property.
 String getName()
          Gets the value of the name property.
 List<String> getPrincipal()
          get the list of principals to be mapped to backend-principal
 List<String> getUserGroup()
          get the list of user-groups to be mapped to backend principal
 void 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
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getName

@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 is String
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 is BackendPrincipal
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


Copyright © 2012 GlassFish Community. All Rights Reserved.