Package com.sun.enterprise.deployment
Class EjbIORConfigurationDescriptor
- java.lang.Object
-
- com.sun.enterprise.deployment.EjbIORConfigurationDescriptor
-
- All Implemented Interfaces:
Serializable
public class EjbIORConfigurationDescriptor extends Object implements Serializable
This descriptor holds the security configuration of an EJB IOR. (Enterprise Java Bean Interoperable Object Reference)- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_REALM
static String
NONE
static String
REQUIRED
static String
SUPPORTED
static String
USERNAME_PASSWORD
-
Constructor Summary
Constructors Constructor Description EjbIORConfigurationDescriptor()
Default constructor.EjbIORConfigurationDescriptor(boolean enableUsernamePassword)
Constuctor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthenticationMethod()
Return the authentication method used to authenticate clients.String
getCallerPropagation()
Return the value of identity assertion in the SAS_Context layer.String
getConfidentiality()
Get the value of the confidentiality element.String
getEstablishTrustInClient()
Get the value of establishTrustInClient in the transport layer.String
getEstablishTrustInTarget()
Get the value of establishTrustInTarget in the transport layer.String
getIntegrity()
Get the value of the integrity element.String
getRealmName()
Return the realm name to authenticate the caller in.boolean
isAuthMethodRequired()
Get whether the establishTrustInClient element is required in the AS_context.void
print(StringBuilder toStringBuilder)
Returns a formatted String of the attributes of this object.void
setAuthenticationMethod(String val)
Set the authentication method used to authenticate clients.void
setAuthMethodRequired(boolean val)
Set whether the establishTrustInClient element should be required in the AS_context.void
setAuthMethodRequired(String val)
Set whether the establishTrustInClient element should be required in the AS_context.void
setCallerPropagation(String val)
Set the value of identity assertion in the SAS_Context layer.void
setConfidentiality(String val)
Set the value of the confidentiality element to the specified value.void
setEstablishTrustInClient(String val)
Set the value of establishTrustInClient in the transport layer.void
setEstablishTrustInTarget(String val)
Set the value of establishTrustInTarget in the transport layer.void
setIntegrity(String val)
Set the value of the integrity element to the specified value.void
setRealmName(String val)
Set the realm name to authenticate the caller in.
-
-
-
Field Detail
-
NONE
public static final String NONE
- See Also:
- Constant Field Values
-
SUPPORTED
public static final String SUPPORTED
- See Also:
- Constant Field Values
-
REQUIRED
public static final String REQUIRED
- See Also:
- Constant Field Values
-
USERNAME_PASSWORD
public static final String USERNAME_PASSWORD
- See Also:
- Constant Field Values
-
DEFAULT_REALM
public static final String DEFAULT_REALM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIntegrity
public String getIntegrity()
Get the value of the integrity element. Default value is "supported".- Returns:
- the value (one of supported, required, none).
-
setIntegrity
public void setIntegrity(String val)
Set the value of the integrity element to the specified value.- Parameters:
val
- the value (one of supported, required, none).
-
getConfidentiality
public String getConfidentiality()
Get the value of the confidentiality element. Default value is "supported".- Returns:
- the value (one of supported, required, none).
-
setConfidentiality
public void setConfidentiality(String val)
Set the value of the confidentiality element to the specified value.- Parameters:
val
- the value (one of supported, required, none).
-
getEstablishTrustInTarget
public String getEstablishTrustInTarget()
Get the value of establishTrustInTarget in the transport layer. The default value is "supported".- Returns:
- the value (required, supported, or none)
-
setEstablishTrustInTarget
public void setEstablishTrustInTarget(String val)
Set the value of establishTrustInTarget in the transport layer.- Parameters:
val
- the value (required, supported, or none)
-
getEstablishTrustInClient
public String getEstablishTrustInClient()
Get the value of establishTrustInClient in the transport layer. The default value is "supported".- Returns:
- the value (required, supported, or none)
-
setEstablishTrustInClient
public void setEstablishTrustInClient(String val)
Set the value of establishTrustInClient in the transport layer.- Parameters:
val
- the value (required, supported, or none)
-
getAuthenticationMethod
public String getAuthenticationMethod()
Return the authentication method used to authenticate clients. The default value is "username_password".- Returns:
- the authentication method.
-
setAuthenticationMethod
public void setAuthenticationMethod(String val)
Set the authentication method used to authenticate clients.- Parameters:
val
- the authentication method.
-
getRealmName
public String getRealmName()
Return the realm name to authenticate the caller in. The default value is "default".- Returns:
- the realm name.
-
setRealmName
public void setRealmName(String val)
Set the realm name to authenticate the caller in.- Parameters:
val
- the realm name.
-
getCallerPropagation
public String getCallerPropagation()
Return the value of identity assertion in the SAS_Context layer.- Returns:
- the value (one of none, required or supported).
-
setCallerPropagation
public void setCallerPropagation(String val)
Set the value of identity assertion in the SAS_Context layer.- Parameters:
val
- the value (one of none, required or supported).
-
isAuthMethodRequired
public boolean isAuthMethodRequired()
Get whether the establishTrustInClient element is required in the AS_context.- Returns:
- the value (true or false).
-
setAuthMethodRequired
public void setAuthMethodRequired(boolean val)
Set whether the establishTrustInClient element should be required in the AS_context.- Parameters:
val
- the value (true or false).
-
setAuthMethodRequired
public void setAuthMethodRequired(String val)
Set whether the establishTrustInClient element should be required in the AS_context.- Parameters:
val
- the value (true or false).
-
print
public void print(StringBuilder toStringBuilder)
Returns a formatted String of the attributes of this object.- Parameters:
toStringBuilder
-
-
-