Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager
11g Release 2 (11.1.2)

E27208-03


com.bharosa.vcrypt.auth.util
Class VCryptAuthUtil

java.lang.Object
  extended by com.bharosa.vcrypt.auth.util.VCryptAuthUtil


public class VCryptAuthUtil
extends Object

Provides utility method to instantiate classes required from VCryptAuth


Field Summary
static String GROUP_NAME
           
static String root_AuthQuestionRequest
           
static String USER_AUTH_MODE
           

 

Constructor Summary
VCryptAuthUtil()
           

 

Method Summary
static Map fromXMLAddQuestionRequest(String xmlString)
           
static Map fromXMLAddQuestionsRequest(String xmlString)
           
static Map fromXMLAuthPasswordRequest(String xmlString)
           
static Map fromXMLAuthPinRequest(String xmlString)
           
static Map fromXMLAuthQuestionRequest(String xmlString)
           
static VCryptAuthResult fromXMLAuthResultResponse(String xmlString)
           
static Map fromXMLAuthSliderRequest(String xmlString)
           
static VCryptAuthUser fromXMLAuthUser(String xmlString)
           
static Map fromXMLDeleteQuestionRequest(String xmlString)
           
static Map fromXMLGenerateWheelRequest(String xmlString)
           
static VCryptWheel fromXMLGenerateWheelResponse(String xmlString)
           
static VCryptQuestion[] fromXMLGetAllMappedSignOnQuestionsResponse(String xmlString)
           
static Map fromXMLGetSecretQuestionRequest(String xmlString)
           
static VCryptQuestion fromXMLGetSecretQuestionResponse(String xmlString)
           
static Map fromXMLGetSignOnQuestionsRequest(String xmlString)
           
static Map fromXMLGetUser(String xmlString)
           
static Map fromXMLImageAndCaptionRequest(String xmlString)
           
static VCryptLocalizedString fromXMLLocalizedString(String xmlString)
           
static VCryptQuestion fromXMLMoveToNextSecretQuestionResponse(String xmlString)
           
static Map fromXMLSetCaptionRequest(String xmlString)
           
static Map fromXMLSetGroupUsersAuthMode(String xmlString)
           
static Map fromXMLSetImageRequest(String xmlString)
           
static Map fromXMLSetUserAuthModeRequest(String xmlString)
           
static Map fromXMLSetUserPasswordRequest(String xmlString)
           
static Map fromXMLSetUserPinRequest(String xmlString)
           
static Map fromXMLSetUserStatusRequest(String xmlString)
           
static VCryptQuestion[][] fromXMLSignOnQuestions(String xmlString)
           
static VCryptAuth getVCryptAuthInstance()
          This method returns the of instance of VCryptAuth class.
static String toXMLAddQuestionRequest(String requestId, String customerId, VCryptQuestion vcryptQuestion)
           
static String toXMLAddQuestionsRequest(String requestId, String customerId, VCryptQuestion[] vcryptQuestions)
           
static String toXMLAuthPasswordRequest(String customerId, String password, int authSessionType, int clientType, String clientVersion, String ipAddress, int fingerPrintType, String fingerPrint)
           
static String toXMLAuthPinRequest(String customerId, String pin, int authSessionType, int clientType, String clientVersion, String ipAddress, int fingerPrintType, String fingerPrint)
           
static String toXMLAuthQuestionRequest(String requestId, Integer challengeChannel, String customerId, String answer)
           
static String toXMLAuthQuestionRequest(String customerId, Long authSessionId, String answer, String ipAddress, int fingerPrintType, String fingerPrint)
           
static String toXMLAuthResultResponse(VCryptAuthResult authResult)
           
static String toXMLAuthSliderRequest(String customerId, String pin, Vector displacements, Map authStats, Long authSessionId, String ipAddress, int fingerPrintType, String fingerPrint)
           
static String toXMLAuthUser(VCryptAuthUser authUser)
           
static String toXMLDeleteQuestionRequest(String customerId, VCryptQuestion vcryptQuestion)
           
static String toXMLGenerateWheelRequest(int length, int sets, Long previousAuthSessionId, int authSessionType, int clientType, String clientVersion, String ipAddress, int fingerPrintType, String fingerPrint)
           
static String toXMLGenerateWheelResponse(VCryptWheel vcryptWheel)
           
static String toXMLGetAllMappedSignOnQuestionsResponse(VCryptQuestion[] questions)
           
static String toXMLGetSecretQuestionRequest(String customerId, Long previousAuthSessionId, int authSessionType, int clientType, String clientVersion, String ipAddress, int fingerPrintType, String fingerPrint)
           
static String toXMLGetSecretQuestionResponse(VCryptQuestion vcryptQuestion)
           
static String toXMLGetSignOnQuestionsRequest(String customerId, VCryptLocale locale)
           
static String toXMLGetUser(String loginId, String groupName)
           
static String toXMLImageAndCaptionRequest(String customerId, String imagePath, String caption)
           
static String toXMLImageAndCaptionRequest(String customerId, String imagePath, VCryptLocalizedString caption)
           
static String toXMLLocale(VCryptLocale locale)
           
static String toXMLLocalizedString(VCryptLocalizedString caption)
           
static String toXMLMoveToNextSecretQuestionResponse(VCryptQuestion vcryptQuestion)
           
static String toXMLQuestion(VCryptQuestion vcryptQuestion)
           
static String toXMLSetCaptionRequest(String customerId, String caption)
           
static String toXMLSetCaptionRequest(String customerId, VCryptLocalizedString caption)
           
static String toXMLSetGroupUsersAuthMode(String groupName, int userAuthMode)
           
static String toXMLSetImageRequest(String customerId, String imagePath)
           
static String toXMLSetUserAuthModeRequest(String customerId, int userAuthMode)
           
static String toXMLSetUserPasswordRequest(String customerId, String password, int passwordStatus)
           
static String toXMLSetUserPinRequest(String customerId, String pin, int pinStatus)
           
static String toXMLSetUserStatusRequest(String customerId, int userStatus)
           
static String toXMLSignOnQuestions(VCryptQuestion[][] questions)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

GROUP_NAME

public static String GROUP_NAME

USER_AUTH_MODE

public static String USER_AUTH_MODE

root_AuthQuestionRequest

public static String root_AuthQuestionRequest

Constructor Detail

VCryptAuthUtil

public VCryptAuthUtil()

Method Detail

getVCryptAuthInstance

public static VCryptAuth getVCryptAuthInstance()
This method returns the of instance of VCryptAuth class.
Returns:
Returns instance of VCryptAuth class

toXMLAuthUser

public static String toXMLAuthUser(VCryptAuthUser authUser)

fromXMLAuthUser

public static VCryptAuthUser fromXMLAuthUser(String xmlString)

toXMLAuthPasswordRequest

public static String toXMLAuthPasswordRequest(String customerId,
                                              String password,
                                              int authSessionType,
                                              int clientType,
                                              String clientVersion,
                                              String ipAddress,
                                              int fingerPrintType,
                                              String fingerPrint)

fromXMLAuthPasswordRequest

public static Map fromXMLAuthPasswordRequest(String xmlString)

toXMLAuthPinRequest

public static String toXMLAuthPinRequest(String customerId,
                                         String pin,
                                         int authSessionType,
                                         int clientType,
                                         String clientVersion,
                                         String ipAddress,
                                         int fingerPrintType,
                                         String fingerPrint)

fromXMLAuthPinRequest

public static Map fromXMLAuthPinRequest(String xmlString)

toXMLAuthResultResponse

public static String toXMLAuthResultResponse(VCryptAuthResult authResult)

fromXMLAuthResultResponse

public static VCryptAuthResult fromXMLAuthResultResponse(String xmlString)

toXMLGenerateWheelRequest

public static String toXMLGenerateWheelRequest(int length,
                                               int sets,
                                               Long previousAuthSessionId,
                                               int authSessionType,
                                               int clientType,
                                               String clientVersion,
                                               String ipAddress,
                                               int fingerPrintType,
                                               String fingerPrint)

fromXMLGenerateWheelRequest

public static Map fromXMLGenerateWheelRequest(String xmlString)

toXMLGenerateWheelResponse

public static String toXMLGenerateWheelResponse(VCryptWheel vcryptWheel)

fromXMLGenerateWheelResponse

public static VCryptWheel fromXMLGenerateWheelResponse(String xmlString)

toXMLAuthSliderRequest

public static String toXMLAuthSliderRequest(String customerId,
                                            String pin,
                                            Vector displacements,
                                            Map authStats,
                                            Long authSessionId,
                                            String ipAddress,
                                            int fingerPrintType,
                                            String fingerPrint)

fromXMLAuthSliderRequest

public static Map fromXMLAuthSliderRequest(String xmlString)

toXMLGetSignOnQuestionsRequest

public static String toXMLGetSignOnQuestionsRequest(String customerId,
                                                    VCryptLocale locale)

toXMLLocale

public static String toXMLLocale(VCryptLocale locale)

toXMLLocalizedString

public static String toXMLLocalizedString(VCryptLocalizedString caption)

toXMLQuestion

public static String toXMLQuestion(VCryptQuestion vcryptQuestion)

fromXMLGetSignOnQuestionsRequest

public static Map fromXMLGetSignOnQuestionsRequest(String xmlString)

toXMLGetSecretQuestionRequest

public static String toXMLGetSecretQuestionRequest(String customerId,
                                                   Long previousAuthSessionId,
                                                   int authSessionType,
                                                   int clientType,
                                                   String clientVersion,
                                                   String ipAddress,
                                                   int fingerPrintType,
                                                   String fingerPrint)

fromXMLGetSecretQuestionRequest

public static Map fromXMLGetSecretQuestionRequest(String xmlString)

toXMLGetSecretQuestionResponse

public static String toXMLGetSecretQuestionResponse(VCryptQuestion vcryptQuestion)

fromXMLGetSecretQuestionResponse

public static VCryptQuestion fromXMLGetSecretQuestionResponse(String xmlString)

toXMLAuthQuestionRequest

public static String toXMLAuthQuestionRequest(String requestId,
                                              Integer challengeChannel,
                                              String customerId,
                                              String answer)

toXMLAuthQuestionRequest

public static String toXMLAuthQuestionRequest(String customerId,
                                              Long authSessionId,
                                              String answer,
                                              String ipAddress,
                                              int fingerPrintType,
                                              String fingerPrint)

fromXMLAuthQuestionRequest

public static Map fromXMLAuthQuestionRequest(String xmlString)

toXMLSetUserPinRequest

public static String toXMLSetUserPinRequest(String customerId,
                                            String pin,
                                            int pinStatus)

toXMLSetUserAuthModeRequest

public static String toXMLSetUserAuthModeRequest(String customerId,
                                                 int userAuthMode)

toXMLSetUserStatusRequest

public static String toXMLSetUserStatusRequest(String customerId,
                                               int userStatus)

fromXMLSetUserPinRequest

public static Map fromXMLSetUserPinRequest(String xmlString)

toXMLSetUserPasswordRequest

public static String toXMLSetUserPasswordRequest(String customerId,
                                                 String password,
                                                 int passwordStatus)

fromXMLSetUserPasswordRequest

public static Map fromXMLSetUserPasswordRequest(String xmlString)

fromXMLSetUserAuthModeRequest

public static Map fromXMLSetUserAuthModeRequest(String xmlString)

fromXMLSetUserStatusRequest

public static Map fromXMLSetUserStatusRequest(String xmlString)

toXMLSignOnQuestions

public static String toXMLSignOnQuestions(VCryptQuestion[][] questions)

toXMLGetAllMappedSignOnQuestionsResponse

public static String toXMLGetAllMappedSignOnQuestionsResponse(VCryptQuestion[] questions)

fromXMLSignOnQuestions

public static VCryptQuestion[][] fromXMLSignOnQuestions(String xmlString)

fromXMLGetAllMappedSignOnQuestionsResponse

public static VCryptQuestion[] fromXMLGetAllMappedSignOnQuestionsResponse(String xmlString)

toXMLSetCaptionRequest

public static String toXMLSetCaptionRequest(String customerId,
                                            String caption)

toXMLSetCaptionRequest

public static String toXMLSetCaptionRequest(String customerId,
                                            VCryptLocalizedString caption)

fromXMLSetCaptionRequest

public static Map fromXMLSetCaptionRequest(String xmlString)

fromXMLLocalizedString

public static VCryptLocalizedString fromXMLLocalizedString(String xmlString)

toXMLSetImageRequest

public static String toXMLSetImageRequest(String customerId,
                                          String imagePath)

fromXMLSetImageRequest

public static Map fromXMLSetImageRequest(String xmlString)

toXMLImageAndCaptionRequest

public static String toXMLImageAndCaptionRequest(String customerId,
                                                 String imagePath,
                                                 String caption)

toXMLImageAndCaptionRequest

public static String toXMLImageAndCaptionRequest(String customerId,
                                                 String imagePath,
                                                 VCryptLocalizedString caption)

fromXMLImageAndCaptionRequest

public static Map fromXMLImageAndCaptionRequest(String xmlString)

toXMLAddQuestionRequest

public static String toXMLAddQuestionRequest(String requestId,
                                             String customerId,
                                             VCryptQuestion vcryptQuestion)

fromXMLAddQuestionRequest

public static Map fromXMLAddQuestionRequest(String xmlString)

toXMLAddQuestionsRequest

public static String toXMLAddQuestionsRequest(String requestId,
                                              String customerId,
                                              VCryptQuestion[] vcryptQuestions)

fromXMLAddQuestionsRequest

public static Map fromXMLAddQuestionsRequest(String xmlString)

toXMLDeleteQuestionRequest

public static String toXMLDeleteQuestionRequest(String customerId,
                                                VCryptQuestion vcryptQuestion)

fromXMLDeleteQuestionRequest

public static Map fromXMLDeleteQuestionRequest(String xmlString)

toXMLMoveToNextSecretQuestionResponse

public static String toXMLMoveToNextSecretQuestionResponse(VCryptQuestion vcryptQuestion)

toXMLSetGroupUsersAuthMode

public static String toXMLSetGroupUsersAuthMode(String groupName,
                                                int userAuthMode)

fromXMLSetGroupUsersAuthMode

public static Map fromXMLSetGroupUsersAuthMode(String xmlString)

fromXMLMoveToNextSecretQuestionResponse

public static VCryptQuestion fromXMLMoveToNextSecretQuestionResponse(String xmlString)

toXMLGetUser

public static String toXMLGetUser(String loginId,
                                  String groupName)

fromXMLGetUser

public static Map fromXMLGetUser(String xmlString)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Adaptive Access Manager
11g Release 2 (11.1.2)

E27208-03


Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.