com.sun.enterprise.config.serverbeans
Interface ResponsePolicy

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

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

Used to define the authentication policy requirements associated with the response processing performed by an authentication provider (i.e. when a client provider's ClientAuthModule.validateResponse() method is called or when a server provider's erverAuthModule.secureResponse() method is called)


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 String getAuthRecipient()
          Specifies whether recipient authentication occurs before or after content authentication.
 String getAuthSource()
          Specifies the type of required authentication, either "sender" (user name and password) or "content" (digital signature).
 void setAuthRecipient(String value)
          Sets the value of the authRecipient property.
 void setAuthSource(String value)
          Sets the value of the authSource property.
 
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

getAuthSource

@Pattern(regexp="(sender|content|username-password)")
String getAuthSource()
Specifies the type of required authentication, either "sender" (user name and password) or "content" (digital signature). Defines a requirement for message layer sender authentication (e.g. username password) or content authentication (e.g. digital signature)

Returns:
possible object is String

setAuthSource

void setAuthSource(String value)
                   throws PropertyVetoException
Sets the value of the authSource property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getAuthRecipient

@Pattern(regexp="(before-content|after-content)")
String getAuthRecipient()
Specifies whether recipient authentication occurs before or after content authentication. Allowed values are 'before-content' and 'after-content'. defines a requirement for message layer authentication of the reciever of a message to its sender (e.g. by XML encryption). before-content indicates that recipient authentication (e.g. encryption) is to occur before any content authentication (e.g. encrypt then sign) with respect to the target of the containing auth-policy. after-content indicates that recipient authentication (e.g. encryption) is to occur after any content authentication (e.g. sign then encrypt) with respect to the target of the containing auth-policy.

Returns:
possible object is String

setAuthRecipient

void setAuthRecipient(String value)
                      throws PropertyVetoException
Sets the value of the authRecipient property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException


Copyright © 2012 GlassFish Community. All Rights Reserved.