Class CustomExternalIdentityProvider
- java.lang.Object
-
- org.apache.jackrabbit.oak.exercise.security.authentication.external.CustomExternalIdentityProvider
-
- All Implemented Interfaces:
org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
public class CustomExternalIdentityProvider extends java.lang.Object implements org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
-
Constructor Summary
Constructors Constructor Description CustomExternalIdentityProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate(java.util.Map<java.lang.String,java.lang.Object> properties)
org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalUser
authenticate(@NotNull Credentials credentials)
org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalGroup
getGroup(@NotNull java.lang.String name)
org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentity
getIdentity(@NotNull org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityRef ref)
@NotNull java.lang.String
getName()
org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalUser
getUser(@NotNull java.lang.String userId)
@NotNull java.util.Iterator<org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalGroup>
listGroups()
@NotNull java.util.Iterator<org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalUser>
listUsers()
void
modified(java.util.Map<java.lang.String,java.lang.Object> properties)
-
-
-
Method Detail
-
activate
public void activate(java.util.Map<java.lang.String,java.lang.Object> properties)
-
modified
public void modified(java.util.Map<java.lang.String,java.lang.Object> properties)
-
getName
@NotNull public @NotNull java.lang.String getName()
- Specified by:
getName
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
getIdentity
public org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentity getIdentity(@NotNull @NotNull org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityRef ref)
- Specified by:
getIdentity
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
getUser
public org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalUser getUser(@NotNull @NotNull java.lang.String userId)
- Specified by:
getUser
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
authenticate
public org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalUser authenticate(@NotNull @NotNull Credentials credentials) throws javax.security.auth.login.LoginException
- Specified by:
authenticate
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
- Throws:
javax.security.auth.login.LoginException
-
getGroup
public org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalGroup getGroup(@NotNull @NotNull java.lang.String name)
- Specified by:
getGroup
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
listUsers
@NotNull public @NotNull java.util.Iterator<org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalUser> listUsers()
- Specified by:
listUsers
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
listGroups
@NotNull public @NotNull java.util.Iterator<org.apache.jackrabbit.oak.spi.security.authentication.external.ExternalGroup> listGroups()
- Specified by:
listGroups
in interfaceorg.apache.jackrabbit.oak.spi.security.authentication.external.ExternalIdentityProvider
-
-