Class com.ibm.ws.ejbcontainer.security.internal.jacc.EJBJaccAuthorizationHelperTest

4

tests

0

failures

0

ignored

0.032s

duration

100%

successful

Tests

Test Duration Result
authorizeEJBNormalMethodArgEenterpriseBeanGranted 0.004s passed
authorizeEJBNormalNoMethodArgDenied 0.021s passed
isCallerInRoleFalse 0.003s passed
isCallerInRoleTrue 0.004s passed

Standard output

    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@761ec61e
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9400A: Authorization failed for user invokedSubjectUserName while invoking methodName on appName. The user is not granted access to any of the required roles: [REQUIRED_ROLE].
[AUDIT   ] CWWKS9402A: Authorization failed for user invokedSubjectUserName while invoking the method methodName on appName because the security metadata for the method explicitly excludes access for all security roles.
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@761ec61e
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@761ec61e
    TrConfigZapper.zapTrConfig : finished invoke init()
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@8aef0cf6
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9400A: Authorization failed for user invokedSubjectUserName while invoking methodName on appName. The user is not granted access to any of the required roles: [REQUIRED_ROLE].
[AUDIT   ] CWWKS9402A: Authorization failed for user invokedSubjectUserName while invoking the method methodName on appName because the security metadata for the method explicitly excludes access for all security roles.
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@8aef0cf6
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@8aef0cf6
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@67361e8d
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9400A: Authorization failed for user invokedSubjectUserName while invoking methodName on appName. The user is not granted access to any of the required roles: [REQUIRED_ROLE].
[AUDIT   ] CWWKS9402A: Authorization failed for user invokedSubjectUserName while invoking the method methodName on appName because the security metadata for the method explicitly excludes access for all security roles.
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@67361e8d
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@67361e8d
    TrConfigZapper.zapTrConfig : finished invoke init()
    TrConfigZapper.zapTrConfig : start invoke init()
init: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@21ae2baa
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9400A: Authorization failed for user invokedSubjectUserName while invoking methodName on appName. The user is not granted access to any of the required roles: [REQUIRED_ROLE].
[AUDIT   ] CWWKS9402A: Authorization failed for user invokedSubjectUserName while invoking the method methodName on appName because the security metadata for the method explicitly excludes access for all security roles.
[AUDIT   ] CWWKS9404A: The EJB security collaborator settings in the server.xml have changed. The following properties were modified: useUnauthenticatedForExpiredCredentials=true
[AUDIT   ] CWWKS9406A: Authorization by the JACC provider failed for user securityName while invoking endsWith on ApplicationName. The user is not granted access to any of the required roles.
registerLoggerHandlerSingleton: Did BaseTraceService.captureSystemStreams() already get excuted? : false. Current COH is com.ibm.websphere.ras.CapturedOutputHolder@21ae2baa
captureSystemStreams: CurrentCOH is : com.ibm.websphere.ras.CapturedOutputHolder@21ae2baa
    TrConfigZapper.zapTrConfig : finished invoke init()

Standard error

[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user invokedSubjectUserName is not authorized to invoke methodName on appName.
[ERROR   ] CWWKS9405E: Authorization failed for EJB method methodName in the application appName. The run-as-mode of SYSTEM_IDENTITY specified in the ibm-ejb-jar-ext.xml is not supported and must be removed or replaced.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user callerSubjectUserName is not authorized to invoke isCallerInRole on appName.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user invokedSubjectUserName is not authorized to invoke methodName on appName.
[ERROR   ] CWWKS9405E: Authorization failed for EJB method methodName in the application appName. The run-as-mode of SYSTEM_IDENTITY specified in the ibm-ejb-jar-ext.xml is not supported and must be removed or replaced.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user callerSubjectUserName is not authorized to invoke isCallerInRole on appName.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user invokedSubjectUserName is not authorized to invoke methodName on appName.
[ERROR   ] CWWKS9405E: Authorization failed for EJB method methodName in the application appName. The run-as-mode of SYSTEM_IDENTITY specified in the ibm-ejb-jar-ext.xml is not supported and must be removed or replaced.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user callerSubjectUserName is not authorized to invoke isCallerInRole on appName.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user invokedSubjectUserName is not authorized to invoke methodName on appName.
[ERROR   ] CWWKS9405E: Authorization failed for EJB method methodName in the application appName. The run-as-mode of SYSTEM_IDENTITY specified in the ibm-ejb-jar-ext.xml is not supported and must be removed or replaced.
[ERROR   ] CWWKS9403E: The server's authorization service is not functional. As a result, the user callerSubjectUserName is not authorized to invoke isCallerInRole on appName.