public class Office365TokenRetriever extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_OBTAINING_HTTP_CONDUIT_FROM_STS_CLIENT |
static String |
ERROR_REQUESTING_A_SECURITY_TOKEN_FROM_STS_CLIENT |
Constructor and Description |
---|
Office365TokenRetriever(org.apache.http.impl.client.HttpClientBuilder clientBuilder) |
Modifier and Type | Method and Description |
---|---|
org.apache.cxf.ws.security.tokenstore.SecurityToken |
getTokenFromAdfs(org.apache.cxf.Bus bus,
String username,
String password,
String metadataUrl,
String portName,
String appliesTo) |
MicrosoftOnlineSecurityData |
getTokenFromLiveId(String organizationServiceUrl,
String username,
String password,
MicrosoftOnlineAuthenticationPolicy organizationPolicy) |
org.apache.cxf.ws.security.tokenstore.SecurityToken |
getTokenFromMicrosoftOnline(org.apache.cxf.Bus bus,
org.apache.cxf.ws.security.tokenstore.SecurityToken issuedToken,
String issuerUrl,
String appliesTo) |
org.apache.cxf.ws.security.tokenstore.SecurityToken |
getTokenFromOffice365(org.apache.cxf.Bus bus,
String username,
String password,
String issuerUrl,
String appliesTo) |
RealmInfo |
getUserRealmInfo(String username) |
public static final String ERROR_OBTAINING_HTTP_CONDUIT_FROM_STS_CLIENT
public static final String ERROR_REQUESTING_A_SECURITY_TOKEN_FROM_STS_CLIENT
public Office365TokenRetriever(org.apache.http.impl.client.HttpClientBuilder clientBuilder)
public org.apache.cxf.ws.security.tokenstore.SecurityToken getTokenFromOffice365(org.apache.cxf.Bus bus, String username, String password, String issuerUrl, String appliesTo) throws Office365ConnectionException
Office365ConnectionException
public MicrosoftOnlineSecurityData getTokenFromLiveId(String organizationServiceUrl, String username, String password, MicrosoftOnlineAuthenticationPolicy organizationPolicy) throws Office365ConnectionException
Office365ConnectionException
public RealmInfo getUserRealmInfo(String username) throws Office365ConnectionException
Office365ConnectionException
public org.apache.cxf.ws.security.tokenstore.SecurityToken getTokenFromAdfs(org.apache.cxf.Bus bus, String username, String password, String metadataUrl, String portName, String appliesTo) throws Office365ConnectionException
Office365ConnectionException
public org.apache.cxf.ws.security.tokenstore.SecurityToken getTokenFromMicrosoftOnline(org.apache.cxf.Bus bus, org.apache.cxf.ws.security.tokenstore.SecurityToken issuedToken, String issuerUrl, String appliesTo) throws Office365ConnectionException
Office365ConnectionException
Copyright © 2010–2019. All rights reserved.