Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jbossws/jbossws-cxf
Browse files Browse the repository at this point in the history
  • Loading branch information
asoldano committed Oct 8, 2015
2 parents 7756d40 + 5c13322 commit 6c2ac5a
Showing 1 changed file with 1 addition and 9 deletions.
Expand Up @@ -34,8 +34,6 @@
import javax.security.auth.message.module.ClientAuthModule;
import javax.xml.soap.SOAPMessage;

import org.jboss.security.SimplePrincipal;

/**
* SOAPClientAuthModule
* TODO: Investigate what we can do with this module
Expand All @@ -48,10 +46,6 @@ public class SOAPClientAuthModule implements ClientAuthModule
@SuppressWarnings("rawtypes")
private List<Class> supportedTypes = new ArrayList<Class>();

private SimplePrincipal principal = null;

private Object credential = null;

@SuppressWarnings("unused")
private MessagePolicy requestPolicy = null;

Expand Down Expand Up @@ -90,7 +84,6 @@ public void initialize(MessagePolicy requestPolicy, MessagePolicy responsePolicy
public AuthStatus secureRequest(MessageInfo messageInfo, Subject source) throws AuthException
{
log = "secureRequest";
messageInfo.getRequestMessage();
return AuthStatus.SUCCESS;
}

Expand All @@ -109,8 +102,7 @@ public Class[] getSupportedMessageTypes()

public void cleanSubject(MessageInfo messageInfo, Subject subject) throws AuthException
{
subject.getPrincipals().remove(principal);
subject.getPublicCredentials().remove(credential);
//TODO: implement this if secureRequest or valdiateResponse is required
}

}

0 comments on commit 6c2ac5a

Please sign in to comment.