Class DefaultPrincipalSecurityChecker

java.lang.Object
de.hybris.platform.permissionswebservices.security.impl.DefaultPrincipalSecurityChecker
All Implemented Interfaces:
PrincipalSecurityChecker

public class DefaultPrincipalSecurityChecker extends Object implements PrincipalSecurityChecker
Default implementation of PrincipalSecurityChecker.
  • Constructor Details

    • DefaultPrincipalSecurityChecker

      public DefaultPrincipalSecurityChecker()
  • Method Details

    • authorizePrincipal

      public boolean authorizePrincipal(org.springframework.security.core.Authentication authentication, String principalUid)
      Description copied from interface: PrincipalSecurityChecker
      Decides whether authenticated user has access to requested resource.
      Specified by:
      authorizePrincipal in interface PrincipalSecurityChecker
      Parameters:
      authentication - is the object that represents the authenticated user
      principalUid - is a Uid of a user whose permissions are being requested
      Returns:
      whether authenticated user is allowed to get the resource