public class RequestMessageBean extends Object implements javax.jms.MessageListener
| Modifier and Type | Field and Description |
|---|---|
protected BackupIdentityProviderProducer |
backupIdentityProviderProducer |
protected ProcessRequestBean |
processRequestBean |
protected DeploymentInfoBean |
runtimeMgrMgr |
| Constructor and Description |
|---|
RequestMessageBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
init() |
protected JaxbCommandsResponse |
jmsProcessJaxbCommandsRequest(JaxbCommandsRequest request) |
void |
onMessage(javax.jms.Message message) |
protected Subject |
tryLogin(String[] userPass)
Try to login to the underlying JAAS module via a
LoginException. |
@Inject protected DeploymentInfoBean runtimeMgrMgr
@Inject protected ProcessRequestBean processRequestBean
@Inject protected BackupIdentityProviderProducer backupIdentityProviderProducer
@PostConstruct public void init()
@PreDestroy public void cleanup()
public void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListenerprotected JaxbCommandsResponse jmsProcessJaxbCommandsRequest(JaxbCommandsRequest request)
protected Subject tryLogin(String[] userPass) throws LoginException
LoginException.
This method is protected so that tests can overwrite it.userPass - A String array containing the user and password information.SubjectLoginException - If something goes wrong when trying to login.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.