Methods Summary |
---|
public java.lang.String | getAuthenticationMethod()Return the authentication method used to authenticate clients.
The default value is "username_password".
return authenticationMethod;
|
public java.lang.String | getCallerPropagation()Return the value of identity assertion in the SAS_Context layer.
return callerPropagation;
|
public java.lang.String | getConfidentiality()Get the value of the confidentiality element.
Default value is "supported".
return confidentiality;
|
public java.lang.String | getEstablishTrustInClient()Get the value of establishTrustInClient in the transport layer.
The default value is "supported".
return establishTrustInClient;
|
public java.lang.String | getEstablishTrustInTarget()Get the value of establishTrustInTarget in the transport layer.
The default value is "supported".
return establishTrustInTarget;
|
public java.lang.String | getIntegrity()Get the value of the integrity element. Default value is "supported".
return integrity;
|
public java.lang.String | getRealmName()Return the realm name to authenticate the caller in.
The default value is "default".
return realmName;
|
public boolean | isAuthMethodRequired()Get whether the establishTrustInClient element is required
in the AS_context.
return required;
|
public void | print(java.lang.StringBuffer toStringBuffer)Returns a formatted String of the attributes of this object.
toStringBuffer.append("\n integrity ").append(integrity);
toStringBuffer.append( "\n confidentiality " ).append( confidentiality);
toStringBuffer.append( "\n establishTrustInTarget ").append(establishTrustInTarget);
toStringBuffer.append( "\n establishTrustInClient ").append(establishTrustInClient);
toStringBuffer.append( "\n callerPropagation ").append(callerPropagation);
toStringBuffer.append( "\n realm ").append(realmName);
toStringBuffer.append( "\n authenticationMethod ").append(authenticationMethod).append("\n");
|
public void | setAuthMethodRequired(boolean val)Set whether the establishTrustInClient element should be required
in the AS_context.
required = val;
|
public void | setAuthMethodRequired(java.lang.String val)Set whether the establishTrustInClient element should be required
in the AS_context.
required = Boolean.valueOf(val).booleanValue();
|
public void | setAuthenticationMethod(java.lang.String val)Set the authentication method used to authenticate clients.
if(!val.equalsIgnoreCase(USERNAME_PASSWORD) && !val.equalsIgnoreCase(NONE)) {
throw new RuntimeException("Incorrect value for " +
"authentication method:" + val);
}
authenticationMethod = val;
|
public void | setCallerPropagation(java.lang.String val)Set the value of identity assertion in the SAS_Context layer.
if(!val.equalsIgnoreCase(NONE) && !val.equalsIgnoreCase(SUPPORTED) &&
!val.equalsIgnoreCase(REQUIRED)) {
throw new RuntimeException("Incorrect value for callerPropagation:" + val);
}
callerPropagation = val;
|
public void | setConfidentiality(java.lang.String val)Set the value of the confidentiality element to the specified value.
if(!val.equalsIgnoreCase(NONE) && !val.equalsIgnoreCase(SUPPORTED) &&
!val.equalsIgnoreCase(REQUIRED)) {
throw new RuntimeException("Incorrect value for confidentiality:" +
val);
}
confidentiality = val;
|
public void | setEstablishTrustInClient(java.lang.String val)Set the value of establishTrustInClient in the transport layer.
if(!val.equalsIgnoreCase(NONE) && !val.equalsIgnoreCase(SUPPORTED) &&
!val.equalsIgnoreCase(REQUIRED)) {
throw new RuntimeException("Incorrect value for " +
"establishTrustInClient:" + val);
}
establishTrustInClient = val;
|
public void | setEstablishTrustInTarget(java.lang.String val)Set the value of establishTrustInTarget in the transport layer.
if(!val.equalsIgnoreCase(NONE) && !val.equalsIgnoreCase(SUPPORTED)) {
throw new RuntimeException("Incorrect value for " +
"establishTrustInTarget:" + val);
}
establishTrustInTarget = val;
|
public void | setIntegrity(java.lang.String val)Set the value of the integrity element to the specified value.
if(!val.equalsIgnoreCase(NONE) && !val.equalsIgnoreCase(SUPPORTED) &&
!val.equalsIgnoreCase(REQUIRED)) {
throw new RuntimeException("Incorrect value for integrity:" + val);
}
integrity = val;
|
public void | setRealmName(java.lang.String val)Set the realm name to authenticate the caller in.
realmName = val;
|