public class Office365TokenRetriever extends Object
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 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–2017. All rights reserved.