ENTAXY-248 release 1.8.1
This commit is contained in:
@ -107,7 +107,7 @@
|
||||
<log message="\r\n${headers.NTX_AccountPassword}\r\n" loggingLevel="DEBUG"/>
|
||||
<log message="\r\n${headers.NTX_AccountSystemUUID}\r\n" loggingLevel="DEBUG"/>
|
||||
|
||||
<to uri="bean-fix:basicAuthService?method=saveCommon(${headers.NTX_AccountLogin}, ${headers.NTX_AccountPassword},
|
||||
<to uri="bean:basicAuthService?method=saveCommon(${headers.NTX_AccountLogin}, ${headers.NTX_AccountPassword},
|
||||
${headers.NTX_AccountSystemUUID}, ${headers.X-ForwardedUser}, ${headers.X-ForwardedUser})"/>
|
||||
</split>
|
||||
<setBody>
|
||||
@ -138,7 +138,7 @@
|
||||
<xpath resultType="String">//bas:login</xpath>
|
||||
</setHeader>
|
||||
<log message="\r\n${headers.NTX_Login}\r\n" loggingLevel="DEBUG"/>
|
||||
<to uri="bean-fix:basicAuthService?method=remove(${headers.NTX_Login})"/>
|
||||
<to uri="bean:basicAuthService?method=remove(${headers.NTX_Login})"/>
|
||||
</split>
|
||||
<setBody>
|
||||
<constant><response xmlns="http://www.entaxy.ru/basic-auth-service/">true</response>
|
||||
@ -168,7 +168,7 @@
|
||||
<log message="\r\n${exchangeProperty.NTX_SubjectType}\r\n" loggingLevel="DEBUG"/>
|
||||
<log message="\r\n${exchangeProperty.NTX_Action}\r\n" loggingLevel="DEBUG"/>
|
||||
|
||||
<to uri="bean-fix:basicAuthService?method=get(${exchangeProperty.NTX_Login})"/>
|
||||
<to uri="bean:basicAuthService?method=get(${exchangeProperty.NTX_Login})"/>
|
||||
|
||||
<choice>
|
||||
<when>
|
||||
@ -181,17 +181,17 @@
|
||||
<choice>
|
||||
<when>
|
||||
<simple>${headers.operationName} == 'addAccountPermission'</simple>
|
||||
<to uri="bean-fix:permissionService?method=addIfNotExist(${exchangeProperty.NTX_Action.id}, 'account', ${exchangeProperty.NTX_Subject},
|
||||
<to uri="bean:permissionService?method=addIfNotExist(${exchangeProperty.NTX_Action.id}, 'account', ${exchangeProperty.NTX_Subject},
|
||||
${exchangeProperty.NTX_SubjectType}, ${exchangeProperty.NTX_Action})"/>
|
||||
</when>
|
||||
<when>
|
||||
<simple>${headers.operationName} == 'removeAccountPermission'</simple>
|
||||
<to uri="bean-fix:permissionService?method=remove(${exchangeProperty.NTX_Action.id}, 'account', ${exchangeProperty.NTX_Subject},
|
||||
<to uri="bean:permissionService?method=remove(${exchangeProperty.NTX_Action.id}, 'account', ${exchangeProperty.NTX_Subject},
|
||||
${exchangeProperty.NTX_SubjectType}, ${exchangeProperty.NTX_Action})"/>
|
||||
</when>
|
||||
</choice>
|
||||
|
||||
<to uri="bean-fix:basicAuthService?method=saveFull(${exchangeProperty.NTX_Action.login}, ${exchangeProperty.NTX_Action.passwordHash},
|
||||
<to uri="bean:basicAuthService?method=saveFull(${exchangeProperty.NTX_Action.login}, ${exchangeProperty.NTX_Action.passwordHash},
|
||||
${exchangeProperty.NTX_Action.encryptionAlgorithm.getAlgorithmName()},
|
||||
${exchangeProperty.NTX_Action.getSystemUUID()}, ${exchangeProperty.NTX_Action.authorizationHeaderHash},
|
||||
${exchangeProperty.NTX_Action.description}, ${exchangeProperty.NTX_Action.createdBy},
|
||||
|
Reference in New Issue
Block a user