Package org.glassfish.security.services.api.authorization

Examples of org.glassfish.security.services.api.authorization.AzAction


        final StringBuilder sb = (isTaggable ? (new StringBuilder(LINE_SEP)).append("AccessCheck processing on ").append(command.getClass().getName()).append(LINE_SEP) : null);
        for (final AccessCheckWork a : accessChecks) {
            final URI resourceURI = resourceURIFromAccessCheck(a.accessCheck);
            final AzSubject azSubject = authService.makeAzSubject(subject);
            final AzResource azResource = authService.makeAzResource(resourceURI);
            final AzAction azAction = authService.makeAzAction(a.accessCheck.action());
            final Map<String,String> subjectAttrs = new HashMap<String,String>();
            final Map<String,String> resourceAttrs = new HashMap<String,String>();
            final Map<String,String> actionAttrs = new HashMap<String,String>();
            for (AuthorizationPreprocessor ap : authPreprocessors) {
                ap.describeAuthorization(
View Full Code Here


        final StringBuilder sb = (isTaggable ? (new StringBuilder(LINE_SEP)).append("AccessCheck processing on ").append(command.getClass().getName()).append(LINE_SEP) : null);
        for (final AccessCheckWork a : accessChecks) {
            final URI resourceURI = resourceURIFromAccessCheck(a.accessCheck);
            final AzSubject azSubject = authService.makeAzSubject(subject);
            final AzResource azResource = authService.makeAzResource(resourceURI);
            final AzAction azAction = authService.makeAzAction(a.accessCheck.action());
            final Map<String,String> subjectAttrs = new HashMap<String,String>();
            final Map<String,String> resourceAttrs = new HashMap<String,String>();
            final Map<String,String> actionAttrs = new HashMap<String,String>();
            for (AuthorizationPreprocessor ap : authPreprocessors) {
                ap.describeAuthorization(
View Full Code Here

        // Note: null action means all actions (i.e., no action condition)

        // Convert parameters
        AzSubject azSubject = makeAzSubject( subject );
        AzResource azResource = makeAzResource( resource );
        AzAction azAction = makeAzAction(action);

        AzResult azResult = getAuthorizationDecision(azSubject, azResource, azAction);

        boolean result =
            AzResult.Status.OK.equals(azResult.getStatus()) &&
View Full Code Here

     * @return The resulting AzAction.
     * @see AuthorizationService#makeAzAction(String)
     */
    @Override
    public AzAction makeAzAction(final String action) {
        AzAction aza = new AzActionImpl( action );
        return aza;
    }
View Full Code Here

        // Note: null action means all actions (i.e., no action condition)

        // Convert parameters
        AzSubject azSubject = makeAzSubject( subject );
        AzResource azResource = makeAzResource( resource );
        AzAction azAction = makeAzAction(action);

        AzResult azResult = getAuthorizationDecision(azSubject, azResource, azAction);

        boolean result =
            AzResult.Status.OK.equals(azResult.getStatus()) &&
View Full Code Here

     * @return The resulting AzAction.
     * @see AuthorizationService#makeAzAction(String)
     */
    @Override
    public AzAction makeAzAction(final String action) {
        AzAction aza = new AzActionImpl( action );
        return aza;
    }
View Full Code Here

    @Override
  public AzAction makeAzAction(String action) {
      if (action == null)
          return null;
     
      AzAction aza = new AzActionImpl();
     
      aza.addAttribute("ACTION", action, false);
    return aza;
  }
View Full Code Here

    @Override
  public AzAction makeAzAction(String action) {
      if (action == null)
          return null;
     
      AzAction aza = new AzActionImpl();
     
      aza.addAttribute("ACTION", action, false);
    return aza;
  }
View Full Code Here

        final StringBuilder sb = (isTaggable ? (new StringBuilder(LINE_SEP)).append("AccessCheck processing on ").append(command.getClass().getName()).append(LINE_SEP) : null);
        for (final AccessCheckWork a : accessChecks) {
            final URI resourceURI = resourceURIFromAccessCheck(a.accessCheck);
            final AzSubject azSubject = authService.makeAzSubject(subject);
            final AzResource azResource = authService.makeAzResource(resourceURI);
            final AzAction azAction = authService.makeAzAction(a.accessCheck.action());
            final Map<String,String> subjectAttrs = new HashMap<String,String>();
            final Map<String,String> resourceAttrs = new HashMap<String,String>();
            final Map<String,String> actionAttrs = new HashMap<String,String>();
            for (AuthorizationPreprocessor ap : authPreprocessors) {
                ap.describeAuthorization(
View Full Code Here

TOP

Related Classes of org.glassfish.security.services.api.authorization.AzAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.