com.atlassian.studio.confluence
Class OnDemandUserAccessCheckerImpl

java.lang.Object
  extended by com.atlassian.studio.confluence.OnDemandUserAccessCheckerImpl
All Implemented Interfaces:
OnDemandUserAccessChecker

public class OnDemandUserAccessCheckerImpl
extends Object
implements OnDemandUserAccessChecker


Constructor Summary
OnDemandUserAccessCheckerImpl(com.atlassian.crowd.embedded.api.CrowdService unfilteredCrowdService)
           
 
Method Summary
 boolean hasLicensedAccess(String username)
          Checks if the user has access to confluence, this does not imply that the user has permission to use confluence, but that they have been granted a license to access confluence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnDemandUserAccessCheckerImpl

public OnDemandUserAccessCheckerImpl(com.atlassian.crowd.embedded.api.CrowdService unfilteredCrowdService)
Method Detail

hasLicensedAccess

public boolean hasLicensedAccess(String username)
Description copied from interface: OnDemandUserAccessChecker
Checks if the user has access to confluence, this does not imply that the user has permission to use confluence, but that they have been granted a license to access confluence. When called from vanilla confluence this method will always return true.

Specified by:
hasLicensedAccess in interface OnDemandUserAccessChecker
Returns:
true if the user is licensed to access confluence.


Copyright © 2003–2015 Atlassian. All rights reserved.