Class CasSpringSecurityAuthorizationGenerator

  • All Implemented Interfaces:
    org.pac4j.core.authorization.generator.AuthorizationGenerator

    public class CasSpringSecurityAuthorizationGenerator
    extends java.lang.Object
    implements org.pac4j.core.authorization.generator.AuthorizationGenerator
    Since:
    5.2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<org.pac4j.core.profile.UserProfile> generate​(org.pac4j.core.context.WebContext context, org.pac4j.core.profile.UserProfile profile)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CasSpringSecurityAuthorizationGenerator

        public CasSpringSecurityAuthorizationGenerator​(org.springframework.core.io.Resource usersFile)
    • Method Detail

      • generate

        public java.util.Optional<org.pac4j.core.profile.UserProfile> generate​(org.pac4j.core.context.WebContext context,
                                                                               org.pac4j.core.profile.UserProfile profile)
        Specified by:
        generate in interface org.pac4j.core.authorization.generator.AuthorizationGenerator