com.atlassian.crowd.util
Class SoapObjectTranslator

java.lang.Object
  extended by com.atlassian.crowd.util.SoapObjectTranslator

public class SoapObjectTranslator
extends java.lang.Object

Converts to and from SOAP versions of classes.


Constructor Summary
SoapObjectTranslator()
           
 
Method Summary
static ApplicationAuthenticationContext fromSoapApplicationAuthenticationContext(ApplicationAuthenticationContext context)
          Converts from SOAP version of ApplicationAuthenticationContext.
static AuthenticatedToken fromSoapAuthenticatedToken(AuthenticatedToken authenticatedToken)
          Converts from SOAP version of AuthenticatedToken.
static PasswordCredential fromSoapPasswordCredential(PasswordCredential passwordCredential)
          Converts from SOAP version of PasswordCredential.
static UserAuthenticationContext fromSoapUserAuthenticationContext(UserAuthenticationContext context)
          Converts from SOAP version of UserAuthenticationContext.
static ValidationFactor fromSoapValidationFactor(ValidationFactor validationFactor)
          Converts from SOAP version of ValidationFactor.
static ValidationFactor[] fromSoapValidationFactors(ValidationFactor[] validationFactors)
          Converts from SOAP version of ValidationFactor.
static ApplicationAuthenticationContext toSoapApplicationAuthenticationContext(ApplicationAuthenticationContext context)
          Converts to SOAP version of ApplicationAuthenticationContext.
static AuthenticatedToken toSoapAuthenticatedToken(AuthenticatedToken authenticatedToken)
          Converts to the SOAP version of AuthenticatedToken.
static PasswordCredential toSoapPasswordCredential(PasswordCredential passwordCredential)
          Converts to the SOAP version of PasswordCredential.
static UserAuthenticationContext toSoapUserAuthenticationContext(UserAuthenticationContext context)
          Converts to SOAP version of UserAuthenticationContext.
static ValidationFactor toSoapValidationFactor(ValidationFactor validationFactor)
          Converts to the SOAP version of ValidationFactor.
static ValidationFactor[] toSoapValidationFactors(ValidationFactor[] validationFactors)
          Converts to the SOAP version of ValidationFactor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapObjectTranslator

public SoapObjectTranslator()
Method Detail

toSoapPasswordCredential

public static PasswordCredential toSoapPasswordCredential(PasswordCredential passwordCredential)
Converts to the SOAP version of PasswordCredential.

Parameters:
passwordCredential - PasswordCredential
Returns:
SOAP version of PasswordCredential

fromSoapPasswordCredential

public static PasswordCredential fromSoapPasswordCredential(PasswordCredential passwordCredential)
Converts from SOAP version of PasswordCredential.

Parameters:
passwordCredential - PasswordCredential
Returns:
PasswordCredential

toSoapValidationFactor

public static ValidationFactor toSoapValidationFactor(ValidationFactor validationFactor)
Converts to the SOAP version of ValidationFactor.

Parameters:
validationFactor - ValidationFactor
Returns:
SOAP version of ValidationFactor

fromSoapValidationFactor

public static ValidationFactor fromSoapValidationFactor(ValidationFactor validationFactor)
Converts from SOAP version of ValidationFactor.

Parameters:
validationFactor - ValidationFactor
Returns:
ValidationFactor

toSoapValidationFactors

public static ValidationFactor[] toSoapValidationFactors(ValidationFactor[] validationFactors)
Converts to the SOAP version of ValidationFactor.

Parameters:
validationFactors - ValidationFactors
Returns:
SOAP version of ValidationFactors

fromSoapValidationFactors

public static ValidationFactor[] fromSoapValidationFactors(ValidationFactor[] validationFactors)
Converts from SOAP version of ValidationFactor.

Parameters:
validationFactors - ValidationFactor
Returns:
ValidationFactor

toSoapAuthenticatedToken

public static AuthenticatedToken toSoapAuthenticatedToken(AuthenticatedToken authenticatedToken)
Converts to the SOAP version of AuthenticatedToken.

Parameters:
authenticatedToken - AuthenticatedToken
Returns:
SOAP version of AuthenticatedToken

fromSoapAuthenticatedToken

public static AuthenticatedToken fromSoapAuthenticatedToken(AuthenticatedToken authenticatedToken)
Converts from SOAP version of AuthenticatedToken.

Parameters:
authenticatedToken - AuthenticatedToken
Returns:
AuthenticatedToken

toSoapUserAuthenticationContext

public static UserAuthenticationContext toSoapUserAuthenticationContext(UserAuthenticationContext context)
Converts to SOAP version of UserAuthenticationContext.

Parameters:
context - UserAuthenticationContext
Returns:
UserAuthenticationContext

fromSoapUserAuthenticationContext

public static UserAuthenticationContext fromSoapUserAuthenticationContext(UserAuthenticationContext context)
Converts from SOAP version of UserAuthenticationContext.

Parameters:
context - UserAuthenticationContext
Returns:
SOAP version of UserAuthenticationContext

toSoapApplicationAuthenticationContext

public static ApplicationAuthenticationContext toSoapApplicationAuthenticationContext(ApplicationAuthenticationContext context)
Converts to SOAP version of ApplicationAuthenticationContext.

Parameters:
context - ApplicationAuthenticationContext
Returns:
ApplicationAuthenticationContext

fromSoapApplicationAuthenticationContext

public static ApplicationAuthenticationContext fromSoapApplicationAuthenticationContext(ApplicationAuthenticationContext context)
Converts from SOAP version of ApplicationAuthenticationContext.

Parameters:
context - ApplicationAuthenticationContext
Returns:
SOAP version of ApplicationAuthenticationContext


Copyright © 2010 Atlassian. All Rights Reserved.