Examples of UrlEntryPoint


Examples of org.beangle.security.web.auth.UrlEntryPoint

   * 加载三类资源
   */
  public void refreshCache() {
    publicResources = authorityService.getResourceNames(Resource.Scope.PUBLIC);
    if (null != authenticationEntryPoint && authenticationEntryPoint instanceof UrlEntryPoint) {
      UrlEntryPoint fep = (UrlEntryPoint) authenticationEntryPoint;
      String loginResource = authorityService.extractResource(fep.getLoginUrl());
      if (null != loginResource) {
        publicResources.add(loginResource);
      }
    }
    protectedResources = authorityService.getResourceNames(Resource.Scope.PROTECTED);
View Full Code Here

Examples of org.beangle.security.web.auth.UrlEntryPoint

   * 加载三类资源
   */
  public void refreshCache() {
    publicResources = authorityService.getResourceNames(Resource.Scope.PUBLIC);
    if(null!=authenticationEntryPoint && authenticationEntryPoint instanceof UrlEntryPoint){
      UrlEntryPoint fep=(UrlEntryPoint)authenticationEntryPoint;
      String loginResource = resourceExtractor.extract(fep.getLoginUrl());
      if(null!=loginResource){
        publicResources.add(loginResource);
      }
    }
    protectedResources = authorityService.getResourceNames(Resource.Scope.PROTECTED);
View Full Code Here

Examples of org.beangle.security.web.auth.UrlEntryPoint

   * 加载三类资源
   */
  public void refreshCache() {
    publicResources = authorityService.getResourceNamesByGroup(Group.ANONYMOUS_ID);
    if (null != authenticationEntryPoint && authenticationEntryPoint instanceof UrlEntryPoint) {
      UrlEntryPoint fep = (UrlEntryPoint) authenticationEntryPoint;
      String loginResource = authorityService.extractResource(fep.getLoginUrl());
      if (null != loginResource) {
        publicResources.add(loginResource);
      }
    }
    protectedResources = authorityService.getResourceNamesByGroup(Group.ANYONE_ID);
View Full Code Here

Examples of org.beangle.security.web.auth.UrlEntryPoint

  /** 加载三类资源 */
  public void refreshCache() {
    publicResources = authorityService.getResourceNamesByScope(Resource.Scope.PUBLIC);
    if (null != authenticationEntryPoint && authenticationEntryPoint instanceof UrlEntryPoint) {
      UrlEntryPoint fep = (UrlEntryPoint) authenticationEntryPoint;
      String loginResource = authorityService.extractResource(fep.getLoginUrl());
      if (null != loginResource) {
        publicResources.add(loginResource);
      }
    }
    protectedResources = authorityService.getResourceNamesByScope(Resource.Scope.PUBLIC);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.