electric.soap.security.authenticators
Class X509NullAuthenticator

java.lang.Object
  extended byelectric.soap.security.authenticators.X509NullAuthenticator
All Implemented Interfaces:
IEXMLLoggingConstants, IGLUELoggingConstants, ILoggingConstants, IWSSAuthenticator

public class X509NullAuthenticator
extends java.lang.Object
implements IWSSAuthenticator, IGLUELoggingConstants

X509NullAuthenticator accepts any correctly formatted X509 security token as valid. While useful for testing, this is not generally appropriate for production use.

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.glue.IGLUELoggingConstants
CLUSTER_DEBUG_EVENT, CLUSTER_EVENT, CONSOLE_DEBUG_EVENT, DEPLOY_EVENT, DETECTORS_EVENT, HTTP_EVENT, JMS_EVENT, REBINDING_EVENT, SECURITY_DEBUG_EVENT, SECURITY_DETAIL_EVENT, SERVLET_EVENT, SOAP_EVENT
 
Fields inherited from interface electric.xml.IEXMLLoggingConstants
MAPPING_EVENT, SCHEMA_EVENT
 
Fields inherited from interface electric.util.log.ILoggingConstants
CLASSLOADER_EVENT, COMMAND_EVENT, COMMENT_EVENT, CONFIG_EVENT, DEBUG_EVENT, ELECTRIC_LOGGING_PROPERTY, ERROR_EVENT, EXCEPTION_EVENT, FILE_EVENT, LICENSE_EVENT, RESOURCES_EVENT, SECURITY_EVENT, SHUTDOWN_EVENT, SOURCE_EVENT, SQL_EVENT, STARTUP_EVENT, WARNING_EVENT
 
Constructor Summary
X509NullAuthenticator()
          Create a new test authenticator that that accepts any x509 certificate as valid.
 
Method Summary
 boolean authenticate(SOAPMessage message, java.util.Vector tokenList, java.util.Vector principalList)
          Accept all X509 security tokens as authentic and add them to the principalList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509NullAuthenticator

public X509NullAuthenticator()
Create a new test authenticator that that accepts any x509 certificate as valid.

Method Detail

authenticate

public boolean authenticate(SOAPMessage message,
                            java.util.Vector tokenList,
                            java.util.Vector principalList)
Accept all X509 security tokens as authentic and add them to the principalList.

Specified by:
authenticate in interface IWSSAuthenticator
Parameters:
message -
tokenList -
principalList -
Returns:
true, always.


copyright© 2001-2004 by webMethods All Rights Reserved.