FileCopyUtil
FileHelper
ScpFrom
Base
+ loggerResource:LoggerResource+oauth2Resource:OAuth2Resource+ testName: String
- startMethod(Method method)- EndMethod(Method method)
ResourceREST
+ resourceType:String+ resourceEndPoint:String+ resourceId:String+ uniqueIdent : String+ resourceIdentifierName :String+ resourceUniqueIdentifierName :String + resource : Object+startTime: long+ endTime: long
ITest
AuthzPropertiesSingleton
CommonResourcesUI
Implementation of gradle task \"generateUserRoleArtifactJson\"
AccessTokenService
+ authRole: String
- getAccessTokenForRole(): String- mapInternalAppRoleName()
Implementation of gradle task \"generateAccessTokenTask\"assertionMap contains assertionToken and clientId
oracle.idaas.oauth.tasks.UserRoleArtifactMain
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
TestStepUI
RequestBuilderHelper
+ tenantName:String+ accessToken:String+ contentType: String
- createRequestSpecBuilder():RequestSpecBuilder
DecodeTokenUtil
+ SignedJWT signedJWTToken
- getClientIdFromAssertionToken(String assertionToken) :String
oracle.idaas.oauth.tasks.AccessTokenMain
ResourceAttributs
+ schema:String+ attrType:String+ isRequired:boolean+ isScim:isScrim+ value:Object
WalletHelper
- getAssertionTokenFromWalletDir(String walletDir)
TestParameters
ScimObject
Token
+ clientType : String+ clientId: String+ assertionToken : String
- generateAccessToken()- sshRemoteGenerateIat():String- constructCurlIat() :String- setAccessToken(String accessToken)- writeAccessTokenToFile()
AppService
+ appName:String+ tenant:String+ appRoles: String
LoggerResource
- getLogger(Class callerClass) :Logger
IAnnotationTransformer2
OAuth2Resource
- readOAuth2ConfigurationFromEnvironment()
Implementation of gradle task \"getClientAssertionTasks\"
WDLib
TenantResource
+ baseUrl: String+ baseInternalUrl :String+ serviceBaseUrl: String+ tenantName : String+ tenantId:String+ oAuth2Resource: OAuth2Resource+ tenantReqSpe: RequestSpecification
- loadServiceBaseUrl() :String- loadBaseUrl(): String- loadBaseInternalUrl(): String- beforeClass(String tenantName)
Also use JSch
RestResources
+ mTestCaseName:String+ uniqueIdent: String+globalListResourcesForTest:List+scimObj: ScimObject
oracle.idaas.oauth.tasks.CopyWalletsMain
- scpWalletFiles()- cpWalletFiles() - getInfraAssertionToken()- getCloudGateAssertionToken()- readWalletAndWriteClientAssertionToFile()
TestsCases
UseCase.UseCaseHeader
testName: StringtestDescription: String
JsonCommon
CommonResourceREST
+ HttpAccess httpCnx
UseCase
RequestSpecBuilder
+ INTERNAL_BASE_URL:String+ clientHeader:String
- build()
JSch
+ ChannelExec channelExec+ ChannelSftp channelSftp
SshConnectionManager
+ channel: ChannelExec+ session: Session
UIresourceParser
OracleWallet
+ OracleSecretStore secretStore+ char[] token
CommonResources
+scimObj: ScimObject+httpCnx: HttpAccess + son:JsonCommon+ rp: RESTprovider+ Cts: TestsEnv (initialize params such as testGrp)
HttpAccess
ResourceConstants
TestAnnotationTransformerListener
+ timeOut : String
Properties file: src/test/resources/auth.propertiesidRsaFile=id.rsa.file=src/test/resources/id_rsauserArtifactFile=user.artifact.file=src/test/resources/userRoleArtifacts.jsonuserArtifactBuildFile=user.artifact.build.file=build/resources/authz/artifact/userRoleArtifacts.jsonclientAssertionExt=client.assertion.ext=scope=scope=rn:opc:idm:__myscopes__
GenericResource
ReportDataAttributes
+attrName:String+ resourceAttributs:ResourceAttributs
TestApplication
- createCaApplications()