com.sun.enterprise.deployment
Class EjbIORConfigurationDescriptor

java.lang.Object
  extended by com.sun.enterprise.deployment.EjbIORConfigurationDescriptor
All Implemented Interfaces:
java.io.Serializable

public class EjbIORConfigurationDescriptor
extends java.lang.Object
implements java.io.Serializable

This descriptor holds the security configuration of an EJB IOR.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_REALM
           
static java.lang.String NONE
           
static java.lang.String REQUIRED
           
static java.lang.String SUPPORTED
           
static java.lang.String USERNAME_PASSWORD
           
 
Constructor Summary
EjbIORConfigurationDescriptor()
          Default constructor.
EjbIORConfigurationDescriptor(boolean enableUsernamePassword)
           
 
Method Summary
 java.lang.String getAuthenticationMethod()
          Return the authentication method used to authenticate clients.
 java.lang.String getCallerPropagation()
          Return the value of identity assertion in the SAS_Context layer.
 java.lang.String getConfidentiality()
          Get the value of the confidentiality element.
 java.lang.String getEstablishTrustInClient()
          Get the value of establishTrustInClient in the transport layer.
 java.lang.String getEstablishTrustInTarget()
          Get the value of establishTrustInTarget in the transport layer.
 java.lang.String getIntegrity()
          Get the value of the integrity element.
 java.lang.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(java.lang.StringBuffer toStringBuffer)
          Returns a formatted String of the attributes of this object.
 void setAuthenticationMethod(java.lang.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(java.lang.String val)
          Set whether the establishTrustInClient element should be required in the AS_context.
 void setCallerPropagation(java.lang.String val)
          Set the value of identity assertion in the SAS_Context layer.
 void setConfidentiality(java.lang.String val)
          Set the value of the confidentiality element to the specified value.
 void setEstablishTrustInClient(java.lang.String val)
          Set the value of establishTrustInClient in the transport layer.
 void setEstablishTrustInTarget(java.lang.String val)
          Set the value of establishTrustInTarget in the transport layer.
 void setIntegrity(java.lang.String val)
          Set the value of the integrity element to the specified value.
 void setRealmName(java.lang.String val)
          Set the realm name to authenticate the caller in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final java.lang.String NONE
See Also:
Constant Field Values

SUPPORTED

public static final java.lang.String SUPPORTED
See Also:
Constant Field Values

REQUIRED

public static final java.lang.String REQUIRED
See Also:
Constant Field Values

USERNAME_PASSWORD

public static final java.lang.String USERNAME_PASSWORD
See Also:
Constant Field Values

DEFAULT_REALM

public static final java.lang.String DEFAULT_REALM
See Also:
Constant Field Values
Constructor Detail

EjbIORConfigurationDescriptor

public EjbIORConfigurationDescriptor()
Default constructor.


EjbIORConfigurationDescriptor

public EjbIORConfigurationDescriptor(boolean enableUsernamePassword)
Method Detail

getIntegrity

public java.lang.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(java.lang.String val)
Set the value of the integrity element to the specified value.

Parameters:
the - value (one of supported, required, none).

getConfidentiality

public java.lang.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(java.lang.String val)
Set the value of the confidentiality element to the specified value.

Parameters:
the - value (one of supported, required, none).

getEstablishTrustInTarget

public java.lang.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(java.lang.String val)
Set the value of establishTrustInTarget in the transport layer.

Parameters:
the - value (required, supported, or none)

getEstablishTrustInClient

public java.lang.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(java.lang.String val)
Set the value of establishTrustInClient in the transport layer.

Parameters:
the - value (required, supported, or none)

getAuthenticationMethod

public java.lang.String getAuthenticationMethod()
Return the authentication method used to authenticate clients. The default value is "username_password".

Returns:
the authentication method.

setAuthenticationMethod

public void setAuthenticationMethod(java.lang.String val)
Set the authentication method used to authenticate clients.

Parameters:
the - authentication method.

getRealmName

public java.lang.String getRealmName()
Return the realm name to authenticate the caller in. The default value is "default".

Returns:
the realm name.

setRealmName

public void setRealmName(java.lang.String val)
Set the realm name to authenticate the caller in.

Parameters:
the - realm name.

getCallerPropagation

public java.lang.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(java.lang.String val)
Set the value of identity assertion in the SAS_Context layer.

Parameters:
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:
the - value (true or false).

setAuthMethodRequired

public void setAuthMethodRequired(java.lang.String val)
Set whether the establishTrustInClient element should be required in the AS_context.

Parameters:
the - value (true or false).

print

public void print(java.lang.StringBuffer toStringBuffer)
Returns a formatted String of the attributes of this object.



Copyright © 2012 GlassFish Community. All Rights Reserved.