inside xml ;
<authentication-manager alias="authenticationManager" xmlns="http://www.springframework.org/schema/security">
<authentication-provider user-service-ref="userservice">
...
Type: Posts; User: m_sahsuvar; Keyword(s):
inside xml ;
<authentication-manager alias="authenticationManager" xmlns="http://www.springframework.org/schema/security">
<authentication-provider user-service-ref="userservice">
...
i modified jdbc oauthtoken service is show some path below
@Override
protected void storeAccessToken(OAuth2AccessToken token, OAuth2Authentication authentication) {
String refreshToken =...
ı solved ıt to change to IS_AUTHENTICATED_ANONYMOUSLY :))very easy
ı solved the problem usıng <intercept-url pattern="/trusted/**" access="IS_AUTHENTICATED_ANONYMOUSLY" /> IS_AUTHENTICATED_ANONYMOUSLY thıs ıs useful thank you:))
Hi ,
i have a problem i have some urls ,
<http access-denied-page="/login.jsp" access-decision-manager-ref="accessDecisionManager" xmlns="http://www.springframework.org/schema/security">...
yes you are right ,but we want to seperate oauthprovider,dataprovider,and username and password details are in 3rd server we may need to access it over webservice,thats why,i understand what you...
the problem is i want to make authentication another server ,i want to send username and password,so ,i have userservice
public class UserServiceImpl implements UserService, UserDetailsService {...
i solved it is easy System.out.println("----"+authentication.getName()); i used this,thank you
Another problem i want to take password also here:
public UserDetails...
hello i try to implement my own JdbcOAuth2ProviderTokenServices named JdbcOAuth2ProviderTokenServices2
i want to get username and password inside this class
configuration
<bean...
hi,
i am developing sparklr application i changed xml to
<bean id="tokenServices" class="org.springframework.security.oauth2.provider.token.JdbcOAuth2ProviderTokenServices">
<property...
thank you taylor ,but using Spring inside Android ,it gets too many jars,we dont want it,i will use UrlConnection java library
thank you for your helps,
ok Thank you Luke,i have a look,but i have another big problem,i have a client that gets access token from sparlr oauth server using trusted client,but i dont want to use it,because i will use it on...
but instead of this,i need to use another client on android,because spring jas is too big,is there any solution?
Hi,
i want to store access token on db,how is it possible,how can i change to store access_token n db
i am going over oauth2 sparklr application ,
<bean id="tokenServices"...
i did it at the end code is:
public class App {
private static RestTemplate client=getRestTemplate();
private static int DEFAULT_PORT = 8080;
private static String DEFAULT_HOST =...
i cant find any documentation that addresses over sparklr2 username and password flow and how can i connect over it
thank you Stoicflame,yes this is the same with mine, how can i connect with username password,i dont want web flow,i will connect it from ANDROID..I need this flow
my client is shown below thank...
i want to disable user login page is shown below
how can i disable,oauth2 is really hard , how can i change this to username password flow
<http access-denied-page="/login.jsp"...
hello to everyone,
i am trying to develop username and password flow over server ,i am going over spring security oauth2 sparklr and tonr application,how can i convert this to username password...