if (GTN_CURRENT_USER.equals(userValue))
{
CredentialsAccessor credentialsAccessor = CredentialsAccess.getInstance().getCredentialsAccessor();
if (credentialsAccessor != null && credentialsAccessor.getCredentials() != null)
{
Credentials credentials = credentialsAccessor.getCredentials();
propertyMap.put(WSHandlerConstants.USER, credentials.getUsername());
String actionProperty = (String)propertyMap.get(WSHandlerConstants.ACTION);
//Note: the action property can contain a space separated list of multiple actions
if (actionProperty != null && actionProperty.contains(GTN_USERNAME_TOKEN_IF_AUTHENTICATED))
{
if (credentials.getPassword() != null)
{
actionProperty = actionProperty.replace(GTN_USERNAME_TOKEN_IF_AUTHENTICATED, WSHandlerConstants.USERNAME_TOKEN);
}
else
{