Identity providers
The OneginiIdentityProvider
interface allows you to take control of the user registration possibilities offered by the IDAAS-core. The interface is used to specify which identity provider should be used during user registration. Identity providers can be created in the IDAAS-core in the Configuration -> Identity Providers section of the user interface.
The OneginiIdentityProvider
interface presents the following methods:
getId()
- this method should be used to distinguish different identity providers. The ID is set in the Identifier field of the identity provider configuration.getName()
- returns the name of the identity provider. The name is set in the Name field of the identity provider configuration.
Example OneginiIdentityProvider interface
public interface OneginiIdentityProvider {
/**
* @return Unique Onegini Identity Provider ID
*/
String getId();
/**
* @return Name of the Onegini Identity Provider that can be displayed to the user.
*/
String getName();
}