public class AzureSecurityRealm extends SecurityRealm
| Modifier and Type | Class and Description |
|---|---|
static class |
AzureSecurityRealm.ConverterImpl |
static class |
AzureSecurityRealm.CrumbExempt |
static class |
AzureSecurityRealm.DescriptorImpl |
SecurityRealm.SecurityComponentsExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static String |
CALLBACK_URL |
AUTHENTICATED_AUTHORITY, AUTHENTICATED_AUTHORITY2, LIST, NO_AUTHENTICATION| Constructor and Description |
|---|
AzureSecurityRealm() |
AzureSecurityRealm(String tenant,
String clientId,
Secret clientSecret,
int cacheDuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsSignup() |
SecurityRealm.SecurityComponents |
createSecurityComponents() |
org.kohsuke.stapler.HttpResponse |
doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
String referer) |
org.kohsuke.stapler.HttpResponse |
doFinishLogin(org.kohsuke.stapler.StaplerRequest request) |
int |
getCacheDuration() |
String |
getClientId() |
String |
getClientIdSecret() |
Secret |
getClientSecret() |
String |
getClientSecretSecret() |
org.jose4j.jwt.consumer.JwtConsumer |
getJwtConsumer() |
String |
getLoginUrl() |
protected String |
getPostLogOutUrl2(org.kohsuke.stapler.StaplerRequest req,
org.springframework.security.core.Authentication auth) |
String |
getTenant() |
String |
getTenantSecret() |
boolean |
isFromRequest() |
GroupDetails |
loadGroupByGroupname2(String groupName,
boolean fetchMembers) |
void |
setCacheDuration(int cacheDuration) |
void |
setCaches(com.google.common.cache.Cache<String,AzureAdUser> caches) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
void |
setFromRequest(boolean fromRequest) |
void |
setTenant(String tenant) |
all, canLogOut, commenceSignup, commonFilters, createCliAuthenticator, createFilter, doCaptcha, doLogout, getAuthenticationGatewayUrl, getCaptchaSupport, getCaptchaSupportDescriptors, getDescriptor, getFrom, getGroupIdStrategy, getPostLogOutUrl, getSecurityComponents, getUserIdStrategy, loadGroupByGroupname, loadGroupByGroupname, loadUserByUsername, loadUserByUsername2, setCaptchaSupport, validateCaptchapublic static final String CALLBACK_URL
@DataBoundConstructor public AzureSecurityRealm(String tenant, String clientId, Secret clientSecret, int cacheDuration)
public AzureSecurityRealm()
public String getClientIdSecret()
public String getClientSecretSecret()
public String getTenantSecret()
public String getClientId()
public void setClientId(String clientId)
public Secret getClientSecret()
public void setClientSecret(String clientSecret)
public String getTenant()
public void setTenant(String tenant)
public int getCacheDuration()
public void setCacheDuration(int cacheDuration)
public void setCaches(com.google.common.cache.Cache<String,AzureAdUser> caches)
public boolean isFromRequest()
@DataBoundSetter public void setFromRequest(boolean fromRequest)
public org.jose4j.jwt.consumer.JwtConsumer getJwtConsumer()
public org.kohsuke.stapler.HttpResponse doCommenceLogin(org.kohsuke.stapler.StaplerRequest request,
@Header(value="Referer")
String referer)
public org.kohsuke.stapler.HttpResponse doFinishLogin(org.kohsuke.stapler.StaplerRequest request)
throws org.jose4j.jwt.consumer.InvalidJwtException,
org.jose4j.jwt.MalformedClaimException,
ExecutionException,
IOException
org.jose4j.jwt.consumer.InvalidJwtExceptionorg.jose4j.jwt.MalformedClaimExceptionExecutionExceptionIOExceptionprotected String getPostLogOutUrl2(org.kohsuke.stapler.StaplerRequest req, org.springframework.security.core.Authentication auth)
getPostLogOutUrl2 in class SecurityRealmpublic SecurityRealm.SecurityComponents createSecurityComponents()
createSecurityComponents in class SecurityRealmpublic GroupDetails loadGroupByGroupname2(String groupName, boolean fetchMembers)
loadGroupByGroupname2 in class SecurityRealmpublic boolean allowsSignup()
allowsSignup in class SecurityRealmpublic String getLoginUrl()
getLoginUrl in class SecurityRealmCopyright © 2016–2021. All rights reserved.