Class ScopeChecker


  • @ApplicationScoped
    public class ScopeChecker
    extends java.lang.Object
    Validates the scopes received for the authorize web service.
    Version:
    January 30, 2018
    Author:
    Yuriy Zabrovarnyy, Yuriy Movchan, Javier Rojas Blum
    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeChecker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> checkScopesPolicy​(Client client, java.lang.String scope)  
      java.util.Set<java.lang.String> checkScopesPolicy​(Client client, java.util.List<java.lang.String> scopesRequested)  
      • Methods inherited from class java.lang.Object

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

      • ScopeChecker

        public ScopeChecker()
    • Method Detail

      • checkScopesPolicy

        public java.util.Set<java.lang.String> checkScopesPolicy​(Client client,
                                                                 java.lang.String scope)
      • checkScopesPolicy

        public java.util.Set<java.lang.String> checkScopesPolicy​(Client client,
                                                                 java.util.List<java.lang.String> scopesRequested)