[JBoss Portal] - Customizing JBoss Portal Authentication
by Roy Tang
Roy Tang [http://community.jboss.org/people/roytang] created the discussion
"Customizing JBoss Portal Authentication"
To view the discussion, visit: http://community.jboss.org/message/565243#565243
--------------------------------------------------------------
Hello,
I'm kind of new to JBoss Portal, but I'm tasked to check if it's possible to customize the authentication model used by the portal. Specifically we want to have a PIN field as an additional level of authentication over the password. The PIN field would need to be input during login in addition to the password and we'll also use it in some other cases, but for the purpose of this question, I just want to know how I can customize the portal's authentication model to support this additional field?
As mentioned I'm newish to JBoss and my experience with portals/portlets in general has been limited to some minor Liferay customization, so any detailed explanation might go over my head quickly (though I'd still appreciate it!); instead I hope someone can suggest what documentation I should be reading or if there's any relevant or useful tutorials somewhere I could look at to get started.
Thanks very much :D
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/565243#565243]
Start a new discussion in JBoss Portal at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months
[jBPM] - Serializable object not being persisted.
by Phillip Thurmond
Phillip Thurmond [http://community.jboss.org/people/pthurmond%40jboss.com] created the discussion
"Serializable object not being persisted."
To view the discussion, visit: http://community.jboss.org/message/564398#564398
--------------------------------------------------------------
I have a class OrderType which is serializable, but I'm getting the following exception when I execute my process. From my understanding of the documentation, any object which is serializable can be persisted by jbpm. Is there any configuration necessary to enable this? If not, any ideas of potential causes?
Stack Trace:
org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable
at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3663)
at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374)
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:203)
at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:535)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:103)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:526)
at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:241)
at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:291)
org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable
at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3663)
at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374)
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:203)
at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:535)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:103)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534)
.......
Thanks.
--Phillip
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/564398#564398]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 2 months