public abstract class AuthorizationConfiguration<CONFIGURATION extends AuthorizationConfiguration> extends Object implements org.jboss.aerogear.android.Config<CONFIGURATION>
| Constructor and Description |
|---|
AuthorizationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CONFIGURATION |
addOnAuthorizationCreatedListener(OnAuthorizationCreatedListener listener)
OnAuthorizationCreatedListeners are a collection of classes to be
notified when the configuration of the Pipe is complete.
|
AuthzModule |
asModule()
Creates a authenticationModule based on the current configuration and
notifies all listeners
|
protected abstract AuthzModule |
buildModule()
Validates configuration parameters and returns a AuthenticationModule
instance.
|
String |
getName() |
Collection<OnAuthorizationCreatedListener> |
getOnAuthorizationCreatedListeners()
OnAuthorizationCreatedListeners are a collection of classes to be
notified when the configuration of the Pipe is complete.
|
CONFIGURATION |
setName(String name) |
CONFIGURATION |
setOnAuthorizationCreatedListeners(Collection<OnAuthorizationCreatedListener> listeners)
OnAuthorizationCreatedListeners are a collection of classes to be
notified when the configuration of the Pipe is complete.
|
public String getName()
getName in interface org.jboss.aerogear.android.Config<CONFIGURATION extends AuthorizationConfiguration>public CONFIGURATION setName(String name)
setName in interface org.jboss.aerogear.android.Config<CONFIGURATION extends AuthorizationConfiguration>public Collection<OnAuthorizationCreatedListener> getOnAuthorizationCreatedListeners()
public CONFIGURATION addOnAuthorizationCreatedListener(OnAuthorizationCreatedListener listener)
listener - new listener to add to the collectionpublic CONFIGURATION setOnAuthorizationCreatedListeners(Collection<OnAuthorizationCreatedListener> listeners)
listeners - new collection to replace the current onepublic final AuthzModule asModule()
IllegalStateException - if the AuthenticationModule can not be
constructed.protected abstract AuthzModule buildModule()
IllegalStateException - if the Pipe can not be constructed.Copyright © 2014 JBoss by Red Hat. All rights reserved.