Class OAuth20Wrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
- java.lang.Object
-
- de.xima.fc.web.common.auth.wrapper.OAuth20Wrapper<T>
-
- All Implemented Interfaces:
IAuthenticatorWrapper<T>
,Serializable
@Deprecated public class OAuth20Wrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>> extends Object implements IAuthenticatorWrapper<T>
Deprecated.Will be replaced by properties model in modulefc-security
in version 8.0.0.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_AUTHENTICATION_URL
Deprecated.static String
ATTR_CUSTOM_USER_MAPPING_ATTRIBUTES
Deprecated.static String
ATTR_KEY
Deprecated.static String
ATTR_PROFILE_ID
Deprecated.static String
ATTR_PROFILE_REQUEST_TYPE
Deprecated.static String
ATTR_PROFILE_URL
Deprecated.static String
ATTR_SCOPE
Deprecated.static String
ATTR_SECRET
Deprecated.static String
ATTR_TOKEN_URL
Deprecated.static String
ATTR_USER_MAPPING_ATTRIBUTES
Deprecated.
-
Constructor Summary
Constructors Constructor Description OAuth20Wrapper(T authenticator)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IAuthenticatorClients
buildAuthenticatorClients(IFormAuthContext authCtx)
Deprecated.Builds the authentication clients based on the current data of the wrapperString
getAuthenticationUrl()
Deprecated.T
getAuthenticator()
Deprecated.Gets theIAuthenticator
-entityMap<String,String>
getCustomUserMappingAttributes()
Deprecated.String
getKey()
Deprecated.String
getProfileId()
Deprecated.String
getProfileRequestType()
Deprecated.String
getProfileUrl()
Deprecated.String
getScope()
Deprecated.String
getSecret()
Deprecated.String
getTokenUrl()
Deprecated.Map<String,String>
getUserMappingAttributes()
Deprecated.void
setAuthenticationUrl(String url)
Deprecated.void
setCustomUserMappingAttributes(Map<String,String> attrs)
Deprecated.void
setKey(String key)
Deprecated.void
setProfileId(String profileIdName)
Deprecated.void
setProfileRequestType(String type)
Deprecated.void
setProfileUrl(String url)
Deprecated.void
setScope(String scope)
Deprecated.void
setSecret(String key)
Deprecated.void
setTokenUrl(String url)
Deprecated.void
setUserMappingAttributes(Map<String,String> userMappingAttributes)
Deprecated.
-
-
-
Field Detail
-
ATTR_KEY
public static final String ATTR_KEY
Deprecated.- See Also:
- Constant Field Values
-
ATTR_SECRET
public static final String ATTR_SECRET
Deprecated.- See Also:
- Constant Field Values
-
ATTR_SCOPE
public static final String ATTR_SCOPE
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PROFILE_REQUEST_TYPE
public static final String ATTR_PROFILE_REQUEST_TYPE
Deprecated.- See Also:
- Constant Field Values
-
ATTR_AUTHENTICATION_URL
public static final String ATTR_AUTHENTICATION_URL
Deprecated.- See Also:
- Constant Field Values
-
ATTR_TOKEN_URL
public static final String ATTR_TOKEN_URL
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PROFILE_URL
public static final String ATTR_PROFILE_URL
Deprecated.- See Also:
- Constant Field Values
-
ATTR_PROFILE_ID
public static final String ATTR_PROFILE_ID
Deprecated.- See Also:
- Constant Field Values
-
ATTR_USER_MAPPING_ATTRIBUTES
public static final String ATTR_USER_MAPPING_ATTRIBUTES
Deprecated.- See Also:
- Constant Field Values
-
ATTR_CUSTOM_USER_MAPPING_ATTRIBUTES
public static final String ATTR_CUSTOM_USER_MAPPING_ATTRIBUTES
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OAuth20Wrapper
public OAuth20Wrapper(T authenticator)
Deprecated.
-
-
Method Detail
-
getAuthenticator
public T getAuthenticator()
Deprecated.Description copied from interface:IAuthenticatorWrapper
Gets theIAuthenticator
-entity- Specified by:
getAuthenticator
in interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
- Returns:
- the
IAuthenticator
-
getKey
public String getKey()
Deprecated.
-
setKey
public void setKey(String key)
Deprecated.
-
getSecret
public String getSecret()
Deprecated.
-
setSecret
public void setSecret(String key)
Deprecated.
-
getScope
public String getScope()
Deprecated.
-
setScope
public void setScope(String scope)
Deprecated.
-
getAuthenticationUrl
public String getAuthenticationUrl()
Deprecated.
-
setAuthenticationUrl
public void setAuthenticationUrl(String url)
Deprecated.
-
getTokenUrl
public String getTokenUrl()
Deprecated.
-
setTokenUrl
public void setTokenUrl(String url)
Deprecated.
-
getProfileUrl
public String getProfileUrl()
Deprecated.
-
setProfileUrl
public void setProfileUrl(String url)
Deprecated.
-
getProfileRequestType
public String getProfileRequestType()
Deprecated.
-
setProfileRequestType
public void setProfileRequestType(String type)
Deprecated.
-
getProfileId
public String getProfileId()
Deprecated.
-
setProfileId
public void setProfileId(String profileIdName)
Deprecated.
-
setUserMappingAttributes
public void setUserMappingAttributes(Map<String,String> userMappingAttributes)
Deprecated.
-
getCustomUserMappingAttributes
public Map<String,String> getCustomUserMappingAttributes()
Deprecated.
-
setCustomUserMappingAttributes
public void setCustomUserMappingAttributes(Map<String,String> attrs)
Deprecated.
-
buildAuthenticatorClients
public IAuthenticatorClients buildAuthenticatorClients(IFormAuthContext authCtx)
Deprecated.Description copied from interface:IAuthenticatorWrapper
Builds the authentication clients based on the current data of the wrapper- Specified by:
buildAuthenticatorClients
in interfaceIAuthenticatorWrapper<T extends IAuthenticator<? extends IFileEntity<? extends de.xima.cmn.dao.interfaces.IEntity<Long>,? extends IFileDataEntity<?>>>>
- Parameters:
authCtx
-IFormAuthContext
to build the client for- Returns:
- the
Client
-
-