public class SCTGenerateCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
Constructor and Description |
---|
SCTGenerateCallback() |
Modifier and Type | Method and Description |
---|---|
javax.xml.ws.BindingProvider |
getBindingProvider()
Returns the binding provider for axis2.
|
java.lang.String |
getClientLabel()
Returns the client label to generate the derived key token.
|
java.lang.String |
getEncyptionAlgorithm()
Returns the algorithm for the encryption.
|
int |
getEncyptionKeyBytesLength()
Returns the length of key for encryption.
|
java.lang.String |
getServiceEndpointAddress()
Returns the server endpoint address.
|
java.lang.String |
getServiceLabel()
Returns the service label to generate the derived key token.
|
java.lang.String |
getSignatureAlgorithm()
Returns the algorithm for signature
|
int |
getSignatureKeyBytesLength()
Returns the length of key for signature
|
SecurityContextToken |
getToken()
Returns the security context token
|
WSSConsumingContext |
getWSSConsumingContext()
Gets WSSConsumingContext object.
|
WSSGenerationContext |
getWSSGenerationContext()
Returns WSSGenerationContext object.
|
boolean |
isRequiredDKT()
Checks whether it requires the derived key token or not
|
void |
setBindingProvider(javax.xml.ws.BindingProvider bindingProvider)
Sets the binding provider for axis2.
|
void |
setClientLabel(java.lang.String clientLabel)
Sets the client label to generate the derived key token.
|
void |
setEncyptionAlgorithm(java.lang.String encyptionAlgorithm)
Sets the algorithm for encryption.
|
void |
setEncyptionKeyBytesLength(int encyptionKeyBytesLength)
Sets the length of key for encryption
|
void |
setRequiredDKT(boolean requiredDKT)
Sets the required derived key token.
|
void |
setServiceEndpointAddress(java.lang.String serviceEndpointAddress)
Returns the server endpoint address.
|
void |
setServiceLabel(java.lang.String serviceLabel)
Sets the service label to generate the derived key token.
|
void |
setSignatureAlgorithm(java.lang.String signatureAlgorithm)
Sets the algorithm for signature.
|
void |
setSignatureKeyBytesLength(int signatureKeyBytesLength)
Sets the length of key for signature
|
void |
setToken(SecurityContextToken token)
Sets the security context token
|
void |
setWSSConsumingContext(WSSConsumingContext concont)
Sets WSSConsumingContext object.
|
void |
setWSSGenerationContext(WSSGenerationContext gencont)
Sets WSSGenerationContext object.
|
java.lang.String |
toString()
Returns the string of this object's properties.
|
public WSSConsumingContext getWSSConsumingContext()
public void setWSSConsumingContext(WSSConsumingContext concont)
concont
- WSSConsumingContext objectpublic WSSGenerationContext getWSSGenerationContext()
public void setWSSGenerationContext(WSSGenerationContext gencont)
gencont
- WSSGenerationContext objectpublic java.lang.String getServiceEndpointAddress()
public void setServiceEndpointAddress(java.lang.String serviceEndpointAddress)
serviceEndpointAddress
- address of the service endpointpublic SecurityContextToken getToken()
public void setToken(SecurityContextToken token)
token
- security context tokenpublic boolean isRequiredDKT()
public void setRequiredDKT(boolean requiredDKT)
requiredDKT
- true if the derived key token is required. false if it does not required.public java.lang.String getClientLabel()
public void setClientLabel(java.lang.String clientLabel)
clientLabel
- client labelpublic java.lang.String getEncyptionAlgorithm()
public void setEncyptionAlgorithm(java.lang.String encyptionAlgorithm)
encyptionAlgorithm
- algorithm for the encryptionpublic int getEncyptionKeyBytesLength()
public void setEncyptionKeyBytesLength(int encyptionKeyBytesLength)
encyptionKeyBytesLength
- length of the key for the encryptionpublic java.lang.String getServiceLabel()
public void setServiceLabel(java.lang.String serviceLabel)
serviceLabel
- service labelpublic java.lang.String getSignatureAlgorithm()
public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
signatureAlgorithm
- algorithm for signaturepublic int getSignatureKeyBytesLength()
public void setSignatureKeyBytesLength(int signatureKeyBytesLength)
signatureKeyBytesLength
- length of the key for the signaturepublic void setBindingProvider(javax.xml.ws.BindingProvider bindingProvider)
bindingProvider
- public javax.xml.ws.BindingProvider getBindingProvider()
public java.lang.String toString()
toString
in class java.lang.Object