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 StringDEFAULT_REALMstatic StringNONEstatic StringREQUIREDstatic StringSUPPORTEDstatic StringUSERNAME_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 StringgetAuthenticationMethod()Return the authentication method used to authenticate clients.StringgetCallerPropagation()Return the value of identity assertion in the SAS_Context layer.StringgetConfidentiality()Get the value of the confidentiality element.StringgetEstablishTrustInClient()Get the value of establishTrustInClient in the transport layer.StringgetEstablishTrustInTarget()Get the value of establishTrustInTarget in the transport layer.StringgetIntegrity()Get the value of the integrity element.StringgetRealmName()Return the realm name to authenticate the caller in.booleanisAuthMethodRequired()Get whether the establishTrustInClient element is required in the AS_context.voidprint(StringBuilder toStringBuilder)Returns a formatted String of the attributes of this object.voidsetAuthenticationMethod(String val)Set the authentication method used to authenticate clients.voidsetAuthMethodRequired(boolean val)Set whether the establishTrustInClient element should be required in the AS_context.voidsetAuthMethodRequired(String val)Set whether the establishTrustInClient element should be required in the AS_context.voidsetCallerPropagation(String val)Set the value of identity assertion in the SAS_Context layer.voidsetConfidentiality(String val)Set the value of the confidentiality element to the specified value.voidsetEstablishTrustInClient(String val)Set the value of establishTrustInClient in the transport layer.voidsetEstablishTrustInTarget(String val)Set the value of establishTrustInTarget in the transport layer.voidsetIntegrity(String val)Set the value of the integrity element to the specified value.voidsetRealmName(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-
-
-