public class BasicScopeHandler extends Object implements edu.uiuc.ncsa.security.oauth_2_0.server.ScopeHandler
Created by Jeff Gaynor
on 8/17/15 at 4:10 PM
| Constructor and Description |
|---|
BasicScopeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getScopes() |
edu.uiuc.ncsa.security.oauth_2_0.UserInfo |
process(edu.uiuc.ncsa.security.oauth_2_0.UserInfo userInfo,
edu.uiuc.ncsa.security.delegation.server.ServiceTransaction transaction)
At the most basic level, this just returns the
UserInfo object passed to it. |
void |
setScopes(Collection<String> scopes) |
public Collection<String> getScopes()
getScopes in interface edu.uiuc.ncsa.security.oauth_2_0.server.ScopeHandlerpublic edu.uiuc.ncsa.security.oauth_2_0.UserInfo process(edu.uiuc.ncsa.security.oauth_2_0.UserInfo userInfo,
edu.uiuc.ncsa.security.delegation.server.ServiceTransaction transaction)
throws edu.uiuc.ncsa.security.oauth_2_0.server.UnsupportedScopeException
UserInfo object passed to it. Override as you deem fit.process in interface edu.uiuc.ncsa.security.oauth_2_0.server.ScopeHandleruserInfo - transaction - edu.uiuc.ncsa.security.oauth_2_0.server.UnsupportedScopeExceptionpublic void setScopes(Collection<String> scopes)
setScopes in interface edu.uiuc.ncsa.security.oauth_2_0.server.ScopeHandlerCopyright © 2015. All Rights Reserved.