Class BasicPasswordAuthenticationService

  • All Implemented Interfaces:
    AuthenticationService

    public class BasicPasswordAuthenticationService
    extends Object
    implements AuthenticationService
    This class does the functionality of security mapping of the principal and userGroup to the backendPrincipal.
    Author:
    Srikanth P
    • Constructor Detail

      • BasicPasswordAuthenticationService

        public BasicPasswordAuthenticationService​(String rarName,
                                                  PoolInfo poolInfo)
        Constructor
        Parameters:
        rarName - Name of the rar
        poolInfo - Name of the pool.
    • Method Detail

      • mapPrincipal

        public Principal mapPrincipal​(Principal callerPrincipal,
                                      Set principalSet)
        Maps the principal to the backendPrincipal
        Specified by:
        mapPrincipal in interface AuthenticationService
        Parameters:
        callerPrincipal - Name of the principal to be mapped.
        principalSet - principalSet
        Returns:
        Mapped Backendprincipal