public class OAuth2ClientContextFactoryBean extends Object implements FactoryBean<OAuth2ClientContext>
Constructor and Description |
---|
OAuth2ClientContextFactoryBean() |
Modifier and Type | Method and Description |
---|---|
OAuth2ClientContext |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setBareContext(OAuth2ClientContext bareContext) |
void |
setResource(OAuth2ProtectedResourceDetails resource) |
void |
setScopedContext(OAuth2ClientContext scopedContext) |
public void setResource(OAuth2ProtectedResourceDetails resource)
resource
- the resource to setpublic void setScopedContext(OAuth2ClientContext scopedContext)
scopedContext
- the scopedContext to setpublic void setBareContext(OAuth2ClientContext bareContext)
bareContext
- the bareContext to setpublic OAuth2ClientContext getObject() throws Exception
getObject
in interface FactoryBean<OAuth2ClientContext>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<OAuth2ClientContext>
public boolean isSingleton()
isSingleton
in interface FactoryBean<OAuth2ClientContext>
Copyright © 2019. All rights reserved.