Thursday, January 30, 2014

Most used ADF security EL expressions


EL expressions for ADF Security

We can use them any where in the ViewController side to check various security aspects

- #{securityContext.authenticated}               => get the user's authentication state
- #{securityContext.userName}                    => get the user's Name
- #{securityContext.userInRole['roleList']}      => get the role memberships, permissions
- #{securityContext.userInAllRoles['roleList']}
- #{securityContext.taskFlowViewable['target']}  => get the user's permission to access to taskflow
- #{securityContext.regionViewable['target']}   => get the user's permission to access a page
- #{securityContext.userGrantedResource['permission']}  
- #{securityContext.userGrantedPermission['permission']}

No comments:

Post a Comment